Title :
An FPTAS for #Knapsack and Related Counting Problems
Author :
Gopalan, Parikshit ; Klivans, Adam ; Meka, Raghu ; Stefankovic, D. ; Vempala, Santosh ; Vigoda, Eric
Author_Institution :
Microsoft Res., Mountain View, CA, USA
Abstract :
Given n elements with non-negative integer weights w1,..., wn and an integer capacity C, we consider the counting version of the classic knapsack problem: find the number of distinct subsets whose weights add up to at most C. We give the first deterministic, fully polynomial-time approximation scheme (FPTAS) for estimating the number of solutions to any knapsack constraint our estimate has relative error 1 ± ε. Our algorithm is based on dynamic programming. Previously, randomized polynomial-time approximation schemes (FPRAS) were known first by Morris and Sinclair via Markov chain Monte Carlo techniques, and subsequently by Dyer via dynamic programming and rejection sampling. In addition, we present a new method for deterministic approximate counting using read-once branching programs. Our approach yields an FPTAS for several other counting problems, including counting solutions for the multidimensional knapsack problem with a constant number of constraints, the general integer knapsack problem, and the contingency tables problem with a constant number of rows.
Keywords :
Markov processes; Monte Carlo methods; integer programming; knapsack problems; polynomial approximation; #knapsack counting problems; FPRAS; FPTAS; Markov chain Monte Carlo techniques; dynamic programming; fully polynomial time approximation scheme; knapsack constraint; nonnegative integer; related counting problems; Approximation algorithms; Approximation methods; Computer science; Dynamic programming; Generators; Heuristic algorithms; Polynomials; Approximate Counting; Contingency Tables; Derandomization; FPRAS; Knapsack; Multidimensional Knapsack;
Conference_Titel :
Foundations of Computer Science (FOCS), 2011 IEEE 52nd Annual Symposium on
Conference_Location :
Palm Springs, CA
Print_ISBN :
978-1-4577-1843-4
DOI :
10.1109/FOCS.2011.32