{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,8,21]],"date-time":"2026-08-21T14:46:11Z","timestamp":1787323571089,"version":"build-2736575974"},"reference-count":43,"publisher":"Society for Industrial & Applied Mathematics (SIAM)","issue":"3","funder":[{"DOI":"10.13039\/100005156","name":"Alexander von Humboldt-Stiftung","doi-asserted-by":"publisher","id":[{"id":"10.13039\/100005156","id-type":"DOI","asserted-by":"publisher"}]},{"DOI":"10.13039\/501100001659","name":"Deutsche Forschungsgemeinschaft","doi-asserted-by":"publisher","award":["ME 3825\/1"],"award-info":[{"award-number":["ME 3825\/1"]}],"id":[{"id":"10.13039\/501100001659","id-type":"DOI","asserted-by":"publisher"}]},{"DOI":"10.13039\/501100006188","name":"Einstein Stiftung Berlin","doi-asserted-by":"publisher","id":[{"id":"10.13039\/501100006188","id-type":"DOI","asserted-by":"publisher"}]}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["SIAM J. Discrete Math."],"published-print":{"date-parts":[[2017,1]]},"abstract":"<jats:p>We study the problem of packing a knapsack without knowing its capacity. Whenever we attempt to pack an item that does not fit, the item is discarded; if the item fits, we have to include it in the packing. We show that there is always a policy that packs a value within factor 2 of the optimum packing, irrespective of the actual capacity. If all items have unit density, we achieve a factor equal to the golden ratio $\\varphi\\approx1.618$. Both factors are shown to be best possible. In fact, we obtain the above factors using packing policies that are universal in the sense that they fix a particular order of the items in the beginning and try to pack the items in this order, without changing the order later on. We give efficient algorithms computing these policies. On the other hand, we show that, for any $\\alpha&gt;1$, the problem of deciding whether a given universal policy achieves a factor of $\\alpha$ is ${\\mathsf{coNP}}$-complete. If $\\alpha$ is part of the input, the same problem is shown to be ${\\mathsf{coNP}}$-complete for items with unit densities. Finally, we show that it is ${\\mathsf{coNP}}$-hard to decide, for given $\\alpha$, whether a set of items admits a universal policy with factor $\\alpha$, even if all items have unit densities.<\/jats:p>","DOI":"10.1137\/16m1070049","type":"journal-article","created":{"date-parts":[[2017,7,13]],"date-time":"2017-07-13T12:59:14Z","timestamp":1499950754000},"page":"1477-1497","source":"Crossref","is-referenced-by-count":12,"title":["Packing a Knapsack of Unknown Capacity"],"prefix":"10.1137","volume":"31","author":[{"given":"Yann","family":"Disser","sequence":"first","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Max","family":"Klimm","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Nicole","family":"Megow","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Sebastian","family":"Stiller","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"351","published-online":{"date-parts":[[2017,7,6]]},"reference":[{"key":"atypb1","first-page":"16","author":"Babaioff M.","year":"2007","journal-title":"New York"},{"key":"atypb2","doi-asserted-by":"crossref","unstructured":"M. A. Bender, R. Cole, and E. D. Demaine,\n                      Scanning and traversing: Maintaining data for traversals in a memory hierarchy\n                      , in Proceedings of the 10th European Symposium on Algorithms, 2002, pp. 139-151.","DOI":"10.1007\/3-540-45749-6_16"},{"key":"atypb3","doi-asserted-by":"publisher","DOI":"10.1007\/s10107-003-0396-4"},{"key":"atypb4","doi-asserted-by":"crossref","unstructured":"A. Bhalgat, A. Goel, and S. Khanna,\n                      Improved approximation results for stochastic knapsack problems\n                      , in Proceedings of the 22nd Annual ACM-SIAM Symposium on Discrete Algorithms, 2011, pp. 1647-1665.","DOI":"10.1137\/1.9781611973082.127"},{"key":"atypb5","first-page":"527","author":"Bo\u0308ckenhauer H.","year":"2014","journal-title":"Theoret. Comput. Sci."},{"key":"atypb6","doi-asserted-by":"crossref","unstructured":"P. C. Bouman, J. M. van den Akker, and J. A. Hoogeveen,\n                      Recoverable robustness by column generation\n                      , in Proceedings of the 19th European Symposium on Algorithms, 2011, pp. 215-226.","DOI":"10.1007\/978-3-642-23719-5_19"},{"key":"atypb7","doi-asserted-by":"publisher","DOI":"10.1007\/s11590-011-0307-1"},{"key":"atypb8","doi-asserted-by":"publisher","DOI":"10.1016\/0022-0000(79)90044-8"},{"key":"atypb9","unstructured":"T. H. Cormen, C. E. Leiserson, R. L. Rivest, and C. Stein,\n                      Introduction to Algorithms\n                      , 3rd ed., MIT Press, Cambridge, MA, 2009."},{"key":"atypb10","doi-asserted-by":"publisher","DOI":"10.1287\/moor.1080.0330"},{"key":"atypb11","doi-asserted-by":"crossref","unstructured":"V. G. Deineko, R. Rudolf, and G. J. Woeginger,\n                      Sometimes travelling is easy: The master tour problem\n                      , in Proceedings of the 3rd European Symposium on Algorithms, 1995, pp. 128-141.","DOI":"10.1007\/3-540-60313-1_139"},{"key":"atypb12","doi-asserted-by":"crossref","unstructured":"D. Diodati, A. Navarra, and C. M. Pinotti,\n                      Online knapsack of unknown capacity\n                      , in Proceedings of the 14th International Symposium on Experimental Algorithms, 2015, pp. 165-177.","DOI":"10.1007\/978-3-319-20086-6_13"},{"key":"atypb13","unstructured":"Y. Disser, N. Megow, M. Klimm, and S. Stiller,\n                      Packing a knapsack of unknown capacity\n                      , in Proceedings of the 31st Symposium on Theoretical Aspects of Computer Science, 2014, pp. 276-287."},{"key":"atypb14","doi-asserted-by":"publisher","DOI":"10.1137\/110844210"},{"key":"atypb15","doi-asserted-by":"crossref","unstructured":"M. Frigo, C. Leiserson, H. Prokop, and S. Ramachandran,\n                      Cache-oblivious algorithms\n                      , in Proceedings of the 40th Symposium on Foundations of Computer Science, 1999, pp. 285-297.","DOI":"10.1109\/SFFCS.1999.814600"},{"key":"atypb16","unstructured":"M. R. Garey and D. S. Johnson,\n                      Computers and Intractability, A Guide to the Theory of NP-Completeness\n                      , W. H. Freeman, New York, 1979."},{"key":"atypb17","doi-asserted-by":"crossref","unstructured":"K.S. Goetzmann, S. Stiller, and C. Telha,\n                      Optimization over integers with robustness in cost and few constraints\n                      , in Proceedings of the 9th Workshop on Approximation and Online Algorithms, 2011, pp. 89-101.","DOI":"10.1007\/978-3-642-29116-6_8"},{"key":"atypb18","doi-asserted-by":"publisher","DOI":"10.1016\/j.tcs.2014.10.017"},{"key":"atypb19","doi-asserted-by":"publisher","DOI":"10.1016\/j.tcs.2013.09.013"},{"key":"atypb20","doi-asserted-by":"publisher","DOI":"10.1016\/j.tcs.2010.08.009"},{"key":"atypb21","doi-asserted-by":"crossref","unstructured":"J. Hartline and A. Sharp,\n                      An incremental model for combinatorial maximization problems\n                      , in Proceedings of the 5th International Conference on Experimental Algorithms, 2006, pp. 36-48.","DOI":"10.1007\/11764298_4"},{"key":"atypb22","doi-asserted-by":"publisher","DOI":"10.1137\/S0895480198332156"},{"key":"atypb23","doi-asserted-by":"crossref","unstructured":"K. Iwama and S. Taketomi,\n                      Removable online knapsack problems\n                      , in Proceedings of the 29th International Colloquium on Automata, Languages and Programming, P. Widmayer, F. T. Ruiz, R. M. Bueno, M. Hennessy, S. Eidenbenz, and R. Conejo, eds., Lecture Notes in Comput. Sci. 2380, Springer, New York, 2002, pp. 293-305.","DOI":"10.1007\/3-540-45465-9_26"},{"key":"atypb24","doi-asserted-by":"publisher","DOI":"10.1016\/j.ipl.2010.08.013"},{"key":"atypb25","doi-asserted-by":"crossref","unstructured":"L. Jia, G. Lin, G. Noubir, R. Rajaraman, and R. Sundaram,\n                      Universal approximations for TSP, Steiner tree, and set cover\n                      , in Proceedings of the 37th Annual ACM Symposium on Theory of Computing, 2005, pp. 386-395.","DOI":"10.1145\/1060590.1060649"},{"key":"atypb26","doi-asserted-by":"crossref","unstructured":"N. Kakimura, K. Makino, and K. Seimi,\n                      Computing knapsack solutions with cardinality robustness\n                      , in Proceedings of the 22nd International Conference on Algorithms and Computation, 2011, pp. 693-702.","DOI":"10.1007\/978-3-642-25591-5_71"},{"key":"atypb27","doi-asserted-by":"publisher","DOI":"10.1287\/opre.46.1.17"},{"key":"atypb28","doi-asserted-by":"publisher","DOI":"10.1287\/opre.49.1.26.11185"},{"key":"atypb29","doi-asserted-by":"crossref","unstructured":"Y. Kobayashi and K. Takazawa,\n                      Randomized strategies for cardinality robustness in the knapsack problem\n                      , in Proceedings of the 13th Workshop on Analytic Algorithmics and Combinatorics, 2016, pp. 25-33.","DOI":"10.1137\/1.9781611974324.3"},{"key":"atypb30","doi-asserted-by":"crossref","unstructured":"B. Korte and J. Vygen,\n                      Combinatorial Optimization. Theory and Algorithms\n                      , 2nd ed., Springer, New York, 2002.","DOI":"10.1007\/978-3-662-21711-5"},{"key":"atypb31","doi-asserted-by":"publisher","DOI":"10.1007\/BF01585758"},{"key":"atypb32","doi-asserted-by":"crossref","unstructured":"J. Matuschke, M. Skutella, and J. A. Soto,\n                      Robust randomized matchings\n                      , in Proceedings of the 26th Annual ACM-SIAM Symposium on Discrete Algorithms, 2015, pp. 1904-1915.","DOI":"10.1137\/1.9781611973730.127"},{"key":"atypb33","doi-asserted-by":"crossref","first-page":"495","DOI":"10.1145\/2422436.2422490","author":"Megow N.","year":"2013","journal-title":"Theoretical Computer Science"},{"key":"atypb34","doi-asserted-by":"publisher","DOI":"10.1109\/TIT.1978.1055927"},{"key":"atypb35","unstructured":"M. Monaci and U. Pferschy,\n                      On the robust knapsack problem\n                      , in Proceedings of the 10th Cologne-Twente Workshop on Graphs and Combinatorial Optimization, 2011, pp. 207-210."},{"key":"atypb36","first-page":"108","author":"Noga J.","year":"2005","journal-title":"IEEE Computer Society"},{"key":"atypb37","unstructured":"C. H. Papadimitriou,\n                      Computational Complexity\n                      , Addison-Wesley, Reading, MA, 1994."},{"key":"atypb38","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-642-03073-4_43"},{"key":"atypb39","doi-asserted-by":"crossref","unstructured":"A. Shamir,\n                      A polynomial time algorithm for breaking the basic Merkle-Hellman cryptosystem\n                      , in Proceedings of the 23rd Symposium on Foundations of Computer Science, 1982, pp. 145-152.","DOI":"10.1109\/SFCS.1982.5"},{"key":"atypb40","doi-asserted-by":"publisher","DOI":"10.1287\/opre.48.1.155.12457"},{"key":"atypb41","doi-asserted-by":"publisher","DOI":"10.1007\/s00186-015-0526-9"},{"key":"atypb42","doi-asserted-by":"crossref","unstructured":"L. G. Valiant and G. J. Brebner,\n                      Universal schemes for parallel communication\n                      , in Proceedings of the 13th Annual ACM Symposium on Theory of Computing, 1981, pp. 263-277.","DOI":"10.1145\/800076.802479"},{"key":"atypb43","doi-asserted-by":"publisher","DOI":"10.1287\/opre.44.2.407"}],"container-title":["SIAM Journal on Discrete Mathematics"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/epubs.siam.org\/doi\/pdf\/10.1137\/16M1070049","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2026,8,21]],"date-time":"2026-08-21T14:10:13Z","timestamp":1787321413000},"score":1,"resource":{"primary":{"URL":"https:\/\/epubs.siam.org\/doi\/10.1137\/16M1070049"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2017,1]]},"references-count":43,"journal-issue":{"issue":"3","published-print":{"date-parts":[[2017,1]]}},"alternative-id":["10.1137\/16M1070049"],"URL":"https:\/\/doi.org\/10.1137\/16m1070049","relation":{},"ISSN":["0895-4801","1095-7146"],"issn-type":[{"value":"0895-4801","type":"print"},{"value":"1095-7146","type":"electronic"}],"subject":[],"published":{"date-parts":[[2017,1]]}}}