Skip to main content

A Faster FPTAS for the Unbounded Knapsack Problem

  • Conference paper
  • First Online:
Combinatorial Algorithms (IWOCA 2015)

Part of the book series: Lecture Notes in Computer Science ((LNTCS,volume 9538))

Included in the following conference series:

Abstract

The Unbounded Knapsack Problem (UKP) is a well-known variant of the famous 0-1 Knapsack Problem (0-1 KP). In contrast to 0-1 KP, an arbitrary number of copies of every item can be taken in UKP. Since UKP is NP-hard, fully polynomial time approximation schemes (FPTAS) are of great interest. Such algorithms find a solution arbitrarily close to the optimum \(\mathrm {OPT}(I)\), i.e. of value at least \((1-\varepsilon ) \mathrm {OPT}(I)\) for \(\varepsilon > 0\), and have a running time polynomial in the input length and \(\frac{1}{\varepsilon }\). For over thirty years, the best FPTAS was due to Lawler with a running time in \(O(n + \frac{1}{\varepsilon ^3})\) and a space complexity in \(O(n + \frac{1}{\varepsilon ^2})\), where n is the number of knapsack items. We present an improved FPTAS with a running time in \(O(n + \frac{1}{\varepsilon ^2} \log ^3 \frac{1}{\varepsilon })\) and a space bound in \(O(n + \frac{1}{\varepsilon } \log ^2 \frac{1}{\varepsilon })\). This directly improves the running time of the fastest known approximation schemes for Bin Packing and Strip Packing, which have to approximately solve UKP instances as subproblems.

Research supported by DFG project JA612/14-2, “Entwicklung und Analyse von effizienten polynomiellen Approximationsschemata für Scheduling- und verwandte Optimierungsprobleme”.

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

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

References

  1. Bellman, R.E.: Dynamic Programming. Princeton University Press, Princeton (1957)

    MATH  Google Scholar 

  2. Bougeret, M., Dutot, P.-F., Jansen, K., Robenek, C., Trystram, D.: Approximation algorithms for multiple strip packing and scheduling parallel jobs in platforms. Discrete Math. Alg. Appl. 3(4), 553–586 (2011)

    Article  MathSciNet  MATH  Google Scholar 

  3. Elberfeld, M., Jakoby, A., Tantau, T.: Logspace versions of the theorems of Bodlaender and Courcelle. Technical report 62. Electronic Colloquium on Computational Complexity (ECCC), 2010. First published in 51th Annual Symposium on Foundations of Computer Science (FOCS 2010), pp. 143–152. IEEE Computer Society (2010)

    Google Scholar 

  4. Gál, A., Jang, J., Limaye, N., Mahajan, M., Sreenivasaiah, K.: Space-Efficient Approximations for Subset Sum. Technical report 180. Electronic Colloquiumon Computational Complexity (ECCC) (2014)

    Google Scholar 

  5. Garey, M.R., Johnson, D.S.: Computers and Intractability: A Guide to the Theory of NP-Completeness. W.H. Freeman and Company, New York (1979)

    MATH  Google Scholar 

  6. Gilmore, P., Gomory, R.: A linear programming approach to the cutting stock problem. Oper. Res. 9(6), 849–859 (1961)

    Article  MathSciNet  MATH  Google Scholar 

  7. Ibarra, O.H., Kim, C.E.: Fast approximation algorithms for the knapsack and sum of subset problem. J. ACM 22, 463–468 (1975)

    Article  MathSciNet  MATH  Google Scholar 

  8. Jansen, K.: Approximation algorithms for min-max and max-min resource sharing problems, and applications. In: Bampis, E., Jansen, K., Kenyon, C. (eds.) Efficient Approximation and Online Algorithms. LNCS, vol. 3484, pp. 156–202. Springer, Heidelberg (2006)

    Chapter  Google Scholar 

  9. Jansen, K., Kraft, S.: An improved approximation scheme for variable-sized bin packing. In: Sassone, V., Widmayer, P., Rovan, B. (eds.) MFCS 2012. LNCS, vol. 7464, pp. 529–541. Springer, Heidelberg (2012)

    Chapter  Google Scholar 

  10. Jansen, K., Kraft, S.: An improved knapsack solver for column generation. In: Bulatov, A.A., Shur, A.M. (eds.) CSR 2013. LNCS, vol. 7913, pp. 12–23. Springer, Heidelberg (2013)

    Chapter  Google Scholar 

  11. Jansen, K., Kraft, S.E.J.: A faster FPTAS for the unbounded knapsack problem (2014). arXiv:1504.04650

  12. Kane, D.M.: Unary subset-sum is in logspace (2010). arXiv:1012.1336

  13. Karmarkar, N., Karp, R.M.: An efficient approximation scheme for the one-dimensional bin-packing problem. In: 23rd Annual Symposium on Foundations of Computer Science (FOCS 1982), pp. 312–320. IEEE Computer Society (1982)

    Google Scholar 

  14. Kellerer, H., Mansini, R., Pferschy, U., Speranza, M.G.: An efficient fully polynomial approximation scheme for the Subset-Sum Problem. J. Comput. Syst. Sci. 66(2), 349–370 (2003)

    Article  MathSciNet  MATH  Google Scholar 

  15. Kellerer, H., Pferschy, U.: A new fully polynomial time approximation scheme for the knapsack problem. J. Comb. Optim. 3(1), 59–71 (1999)

    Article  MathSciNet  MATH  Google Scholar 

  16. Kellerer, H., Pferschy, U.: Improved dynamic programming in connection with an FTPAS for the knapsack problem. J. Comb. Optim. 8(1), 5–11 (2004)

    Article  MathSciNet  MATH  Google Scholar 

  17. Kellerer, H., Pferschy, U., Pisinger, D.: Knapsack Problems. Springer, Heidelberg (2004)

    Book  MATH  Google Scholar 

  18. C. Kenyon, E. Rémila.: A near-optimal solution to a two-dimensional cutting stock problem. Math. Oper. Res. 25(4), 645–656 (2000). First published as “Approximate Strip Packing”. In: 37th Annual Symposium on Foundations of Computer Science (FOCS 1996), pp. 31–36. IEEE Computer Society (1996)

    Google Scholar 

  19. Kraft, S.E.J.: Improved approximation algorithms for packing and scheduling problems. Ph.D thesis. Christian-Albrechts-Universität zu Kiel (2015)

    Google Scholar 

  20. Lawler, E.L.: Fast approximation algorithms for knapsack problems. Math. Oper. Res. 4(4), 339–356 (1979)

    Article  MathSciNet  MATH  Google Scholar 

  21. Lokshtanov, D., Nederlof, J.: Saving space by algebraization. In: Proceedings of the 42nd ACM Symposium on Theory of Computing, STOC 2010, pp. 321–330. ACM (2010)

    Google Scholar 

  22. Magazine, M.J., Oguz, O.: A fully polynomial approximation algorithm for the 0–1 knapsack problem. Eur. J. Oper. Res. 8(3), 270–273 (1981)

    Article  MathSciNet  MATH  Google Scholar 

  23. Plotkin, S.A., Shmoys, D.B., Tardos, É.: Fast approximation algorithms for fractional packing and covering problems. Math. Oper. Res. 20, 257–301 (1995). First published in 32nd Annual Symposium on Foundations of Computer Science (FOCS 1991), pp. 495–504. IEEE Computer Society (1991)

    Google Scholar 

  24. Shachnai, H., Yehezkely, O.: Fast asymptotic FPTAS for packing fragmentable items with costs. In: Csuhaj-Varjú, E., Ésik, Z. (eds.) FCT 2007. LNCS, vol. 4639, pp. 482–493. Springer, Heidelberg (2007)

    Chapter  Google Scholar 

  25. Sviridenko, M.: A note on the Kenyon-Remila strip-packing algorithm. Inf. Process. Lett. 112(1–2), 10–12 (2012)

    Article  MathSciNet  MATH  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Stefan E. J. Kraft .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2016 Springer International Publishing Switzerland

About this paper

Cite this paper

Jansen, K., Kraft, S.E.J. (2016). A Faster FPTAS for the Unbounded Knapsack Problem. In: Lipták, Z., Smyth, W. (eds) Combinatorial Algorithms. IWOCA 2015. Lecture Notes in Computer Science(), vol 9538. Springer, Cham. https://doi.org/10.1007/978-3-319-29516-9_23

Download citation

  • DOI: https://doi.org/10.1007/978-3-319-29516-9_23

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-319-29515-2

  • Online ISBN: 978-3-319-29516-9

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics