Skip to main content
Log in

An FPTAS for the Volume Computation of 0-1 Knapsack Polytopes Based on Approximate Convolution

  • Published:
Algorithmica Aims and scope Submit manuscript

Abstract

Computing high dimensional volumes is a hard problem, even for approximation. Several randomized approximation techniques for #P-hard problems have been developed in the three decades, while some deterministic approximation algorithms are recently developed only for a few #P-hard problems. Motivated by a new technique for a deterministic approximation, this paper is concerned with the volume computation of 0-1 knapsack polytopes, which is known to be #P-hard. This paper presents a new technique based on approximate convolutions for a deterministic approximation of volume computations, and provides a fully polynomial-time approximation scheme for the volume computation of 0-1 knapsack polytopes. We also give an extension of the result to multi-constrained knapsack polytopes with a constant number of constraints.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1

Similar content being viewed by others

Notes

  1. In fact, M is a scaling parameter of our approximation algorithm described in Sect. 3 in detail, that is \(M = 2 \lceil n^2\epsilon ^{-1} \rceil \) for an approximate ratio \(\epsilon \) (\(0 < \epsilon \le 1\)). Arguments in this section also hold even in case that M is real. It might be convenient for this section to assume \(M=1\).

  2. For the simplicity of a description, here we assume that our input is given by rationals \(\tilde{a}_j = (a_j/b)M\) (\(j=1,\ldots ,n\)), since \(G_j\) is defined for \(\tilde{a}_j\) [see (5) and (6)]. It is also noted that M is a parameter of the algorithm (see Lemma 3.4, appearing later).

References

  1. Ando, E., Kijima, S.: An FPTAS for the volume computation of 0-1 knapsack polytopes based on approximate convolution integral. Lect. Notes Comput. Sci. 8889, 376–386 (2014)

    Article  MathSciNet  MATH  Google Scholar 

  2. Bandyopadhyay, A., Gamarnik, D.: Counting without sampling: asymptotics of the log-partition function for certain statistical physics models. Random Struct. Algorithms 33, 452–479 (2008)

    Article  MathSciNet  MATH  Google Scholar 

  3. Bárány, I., Füredi, Z.: Computing the volume is difficult. Discrete Comput. Geom. 2, 319–326 (1987)

    Article  MathSciNet  MATH  Google Scholar 

  4. Bayati, M., Gamarnik, D., Katz, D., Nair, C., Tetali, P.: Simple deterministic approximation algorithms for counting matchings. In: Proceedings of STOC, pp. 122–127 (2007)

  5. Cousins, B., Vempala, S., Bypassing, K.L.S.: Gaussian Cooling and an \(O^\ast (n^3)\) Volume Algorithm. In: Proceedings of STOC, pp. 539–548 (2015)

  6. Dyer, M.: Approximate counting by dynamic programming. In: Proceedings of STOC, pp. 693–699 (2003)

  7. Dyer, M., Frieze, A.: On the complexity of computing the volume of a polyhedron. SIAM J. Comput. 17(5), 967–974 (1988)

    Article  MathSciNet  MATH  Google Scholar 

  8. Dyer, M., Frieze, A., Kannan, R.: A random polynomial-time algorithm for approximating the volume of convex bodies. J. Assoc. Comput. Mach. 38(1), 1–17 (1991)

    Article  MathSciNet  MATH  Google Scholar 

  9. Elekes, G.: A geometric inequality and the complexity of computing volume. Discrete Comput. Geom. 1, 289–292 (1986)

    Article  MathSciNet  MATH  Google Scholar 

  10. Gamarnik, D., Katz, D.: Correlation decay and deterministic FPTAS for counting colorings of a graph. J. Discrete Algorithms 12, 29–47 (2012)

    Article  MathSciNet  MATH  Google Scholar 

  11. Gopalan, P., Klivans, A., Meka, R.: Polynomial-time approximation schemes for knapsack and related counting problems using branching programs. arXiv:1008.3187v1 (2010)

  12. Gopalan, P., Klivans, A., Meka, R., Štefankovič, D., Vempala, S., Vigoda, E.: An FPTAS for #knapsack and related counting problems. In: Proceedings of FOCS, pp. 817–826 (2011)

  13. Li, L., Lu, P., Yin, Y.: Approximate counting via correlation decay in spin systems. In: Proceedings of SODA, pp. 922–940 (2012)

  14. Li, L., Lu, P., Yin, Y.: Correlation decay up to uniqueness in spin systems. In: Proceedings of SODA, pp. 67–84 (2013)

  15. Li, J., Shi, T.: A fully polynomial-time approximation scheme for approximating a sum of random variables. Oper. Res. Lett. 42, 197–202 (2014)

    Article  MathSciNet  Google Scholar 

  16. Lin, C., Liu, J., Lu, P.: A simple FPTAS for counting edge covers. In: Proceedings of SODA, pp. 341–348 (2014)

  17. Lovász, L.: An algorithmic theory of numbers, graphs and convexity. SIAM Society for Industrial and Applied Mathematics, Philadelphia (1986)

    Book  MATH  Google Scholar 

  18. Lovász, L., Vempala, S.: Simulated annealing in convex bodies and an \(O^\ast (n^4)\) volume algorithm. J. Comput. Syst. Sci. 72, 392–417 (2006)

    Article  MathSciNet  MATH  Google Scholar 

  19. Štefankovič, D., Vempala, S., Vigoda, E.: A deterministic polynomial-time approximation scheme for counting knapsack solutions. SIAM J. Comput. 41(2), 356–366 (2012)

    Article  MathSciNet  MATH  Google Scholar 

  20. Weitz, D.: Counting independent sets up to the tree threshold. In: Proceedings of STOC, pp. 140–149 (2006)

Download references

Acknowledgments

The authors would like to thank the anonymous reviewers for their valuable comments. This work is partly supported by Grant-in-Aid for Scientific Research on Innovative Areas MEXT Japan “Exploring the Limits of Computation (ELC)” (Nos. 24106008, 24106005).

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Ei Ando.

Additional information

A preliminary version appeared in [1].

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Ando, E., Kijima, S. An FPTAS for the Volume Computation of 0-1 Knapsack Polytopes Based on Approximate Convolution. Algorithmica 76, 1245–1263 (2016). https://doi.org/10.1007/s00453-015-0096-5

Download citation

  • Received:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s00453-015-0096-5

Keywords

Navigation