Skip to main navigation Skip to search Skip to main content

A deterministic fully polynomial time approximation scheme for counting integer knapsack solutions made easy

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

Abstract

Given n elements with nonnegative integer weights w = (w1, . . . ,wn), an integer capacity C and positive integer ranges u = (u1, . . . , un), we consider the counting version of the classic integer knapsack problem: find the number of distinct multisets whose weights add up to at most C. We give a deterministic algorithm that estimates the number of solutions to within relative error ϵ in time polynomial in n, log U and 1/ϵ, where U = maxi ui. More precisely, our algorithm runs in O( n3 log2 U/ϵ log n log U ϵ ) time. This is an improvement of n2 and 1/2 (up to log terms) over the best known deterministic algorithm by Gopalan et al. [FOCS, (2011), pp. 817-826]. Our algorithm is relatively simple, and its analysis is rather elementary. Our results are achieved by means of a careful formulation of the problem as a dynamic program, using the notion of binding constraints.

Original languageEnglish
Title of host publicationApproximation, Randomization, and Combinatorial Optimization. Algorithms and Techniques - 19th International Workshop, APPROX 2016 and 20th International Workshop, RANDOM 2016
EditorsKlaus Jansen, Claire Mathieu, Jose D. P. Rolim, Chris Umans
PublisherSchloss Dagstuhl- Leibniz-Zentrum fur Informatik GmbH, Dagstuhl Publishing
ISBN (Electronic)9783959770187
DOIs
StatePublished - 1 Sep 2016
Externally publishedYes
Event19th International Workshop on Approximation Algorithms for Combinatorial Optimization Problems, APPROX 2016 and the 20th International Workshop on Randomization and Computation, RANDOM 2016 - Paris, France
Duration: 7 Sep 20169 Sep 2016

Publication series

NameLeibniz International Proceedings in Informatics, LIPIcs
Volume60

Conference

Conference19th International Workshop on Approximation Algorithms for Combinatorial Optimization Problems, APPROX 2016 and the 20th International Workshop on Randomization and Computation, RANDOM 2016
Country/TerritoryFrance
CityParis
Period7/09/169/09/16

Keywords

  • Approximate counting
  • Bounding constraints
  • Dynamic programming
  • Integer knapsack
  • K-Approximating sets and functions.

ASJC Scopus subject areas

  • Software

Fingerprint

Dive into the research topics of 'A deterministic fully polynomial time approximation scheme for counting integer knapsack solutions made easy'. Together they form a unique fingerprint.

Cite this