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”.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
References
Bellman, R.E.: Dynamic Programming. Princeton University Press, Princeton (1957)
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)
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)
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)
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)
Gilmore, P., Gomory, R.: A linear programming approach to the cutting stock problem. Oper. Res. 9(6), 849–859 (1961)
Ibarra, O.H., Kim, C.E.: Fast approximation algorithms for the knapsack and sum of subset problem. J. ACM 22, 463–468 (1975)
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)
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)
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)
Jansen, K., Kraft, S.E.J.: A faster FPTAS for the unbounded knapsack problem (2014). arXiv:1504.04650
Kane, D.M.: Unary subset-sum is in logspace (2010). arXiv:1012.1336
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)
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)
Kellerer, H., Pferschy, U.: A new fully polynomial time approximation scheme for the knapsack problem. J. Comb. Optim. 3(1), 59–71 (1999)
Kellerer, H., Pferschy, U.: Improved dynamic programming in connection with an FTPAS for the knapsack problem. J. Comb. Optim. 8(1), 5–11 (2004)
Kellerer, H., Pferschy, U., Pisinger, D.: Knapsack Problems. Springer, Heidelberg (2004)
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)
Kraft, S.E.J.: Improved approximation algorithms for packing and scheduling problems. Ph.D thesis. Christian-Albrechts-Universität zu Kiel (2015)
Lawler, E.L.: Fast approximation algorithms for knapsack problems. Math. Oper. Res. 4(4), 339–356 (1979)
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)
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)
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)
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)
Sviridenko, M.: A note on the Kenyon-Remila strip-packing algorithm. Inf. Process. Lett. 112(1–2), 10–12 (2012)
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights 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)