Generating key points…
Answers are grounded in this paper and cite their sources.
Given integer weights w₁,…,wₙ∈[1,T], we approximate the number Z of subsets whose total weight is at most the capacity T. For every fixed $δ>0$ we give a randomized algorithm that estimates Z to relative error ε with probability at least $2/3$ in O_δ(n+ε-(1+δ)) time on the standard word RAM with words of Θ(log(n/ε)+log T) bits. This improves the time bound O(nε⁻²) by Jin, Park, and Saha. Instead of estimating the core threshold probabilities by sampling, we compute them under an exponentially tilted product law by Fourier analysis; this suffices when the total weight is polynomial. For arbitrary weights we use a discrete inverse Littlewood--Offord theorem to show that, after an inward rounding that preserves almost all feasible sets, all but a small power of n+ε⁻¹ of the items selected under the tilted law lie, in expectation, in a progression of bounded rank. We find such a progression by sampling and lattice reduction, count the weights in it with the Fourier machinery, and add back the remaining weights through a degree-truncated inclusion--exclusion whose correction terms are estimated by sampling.
No takes yet. Share an insight, caveat, or question.
Chen et al. (2026) studied this question.
Synapse has enriched 8 closely related papers on similar clinical questions. Consider them for comparative context: