pith. sign in

Polynomial-Time Approximation Schemes for Knapsack and Related Counting Problems using Branching Programs

1 Pith paper cite this work. Polarity classification is still indexing.

1 Pith paper citing it
abstract

We give a deterministic, polynomial-time algorithm for approximately counting the number of {0,1}-solutions to any instance of the knapsack problem. On an instance of length n with total weight W and accuracy parameter eps, our algorithm produces a (1 + eps)-multiplicative approximation in time poly(n,log W,1/eps). We also give algorithms with identical guarantees for general integer knapsack, the multidimensional knapsack problem (with a constant number of constraints) and for contingency tables (with a constant number of rows). Previously, only randomized approximation schemes were known for these problems due to work by Morris and Sinclair and work by Dyer. Our algorithms work by constructing small-width, read-once branching programs for approximating the underlying solution space under a carefully chosen distribution. As a byproduct of this approach, we obtain new query algorithms for learning functions of k halfspaces with respect to the uniform distribution on {0,1}^n. The running time of our algorithm is polynomial in the accuracy parameter eps. Previously even for the case of k=2, only algorithms with an exponential dependence on eps were known.

citation-role summary

method 1

citation-polarity summary

fields

cs.DS 1

years

2026 1

verdicts

UNVERDICTED 1

roles

method 1

polarities

use method 1

representative citing papers

Deterministic Volume Estimation of Truncated Hypercubes

cs.DS · 2026-05-19 · unverdicted · novelty 7.0

Deterministic (1+ε)-approximation algorithm for the volume of the unit hypercube truncated by k sums-of-univariate-convex constraints, running in poly_k(n, 1/ε, L, L_o) time.

citing papers explorer

Showing 1 of 1 citing paper.

  • Deterministic Volume Estimation of Truncated Hypercubes cs.DS · 2026-05-19 · unverdicted · none · ref 7 · internal anchor

    Deterministic (1+ε)-approximation algorithm for the volume of the unit hypercube truncated by k sums-of-univariate-convex constraints, running in poly_k(n, 1/ε, L, L_o) time.