Abstract
We propose a new variant of the more standard online knapsack problem where the only information missing to the provided instances is the capacity \(B\) of the knapsack. We refer to this problem as the online Knapsack of Unknown Capacity problem. Any algorithm must provide a strategy for ordering the items that are inserted in the knapsack in an online fashion, until the actual capacity of the knapsack is revealed and the last inserted item might not fit in. Apart from the interest in a new version of the fundamental knapsack problem, the motivations that lead to define this new variant come from energy consumption constraints in smartphone communications. We do provide lower and upper bounds to the problem for various cases. In general, we design an optimal algorithm admitting a \(\frac{1}{2}\)-competitive ratio. When all items admit uniform ratio of profit over size, our algorithm provides a \(\frac{49}{86}=.569\ldots \) competitive ratio that leaves some gap with the provided bound of \(\frac{1}{\varphi }=.618\ldots \), the inverse of the golden number. We then conduct experimental analysis for the competitive ratio guaranteed algorithms compared to the optimum and to various heuristics.
Research partially supported by the Research Grant 2010N5K7EB ‘PRIN 2010’ ARS TechnoMedia (Algoritmica per le Reti Sociali Tecno-mediate) from the Italian Ministry of University and Research.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
References
Cicerone, S., D’Angelo, G., Di Stefano, G., Frigioni, D., Navarra, A., Schachtebeck, M., Schöbel, A.: Recoverable robustness in shunting and timetabling. In: Ahuja, R.K., Möhring, R.H., Zaroliagis, C.D. (eds.) Robust and Online Large-Scale Optimization. LNCS, vol. 5868, pp. 28–60. Springer, Heidelberg (2009)
Conti, M., Crispo, B., Diodati, D., Nurminen, J.K., Pinotti, C.M., Teemaa, T.: Leveraging parallel communications for minimizing energy consumption on smartphones. IEEE Transactions on Parallel and Distributed Systems (to appear)
Cygan, M., Jeż, Ł.: Online knapsack revisited. In: Kaklamanis, C., Pruhs, K. (eds.) WAOA 2013. LNCS, vol. 8447, pp. 144–155. Springer, Heidelberg (2014)
Das, S., Ghosh, D.: Binary knapsack problems with random budgets. The Journal of the Operational Research Society 54(9), 970–983 (2003)
Disser, Y., Klimm, M., Megow, N., Stiller, S.: Packing a knapsack of unknown capacity. In: Proc. of the 31st International Symposium on Theoretical Aspects of Computer Science (STACS), LIPIcs, vol. 25, pp. 276–287. Schloss Dagstuhl - Leibniz-Zentrum fuer Informatik (2014)
Han, X., Kawase, Y., Makino, K., Guo, H.: Online removable knapsack problem under convex function. Theor. Comput. Sci. 540, 62–69 (2014)
Iwama, K., Taketomi, S.: Removable online knapsack problems. In: Widmayer, P., Triguero, F., Morales, R., Hennessy, M., Eidenbenz, S., Conejo, R. (eds.) ICALP 2002. LNCS, vol. 2380, pp. 293–305. Springer, Heidelberg (2002)
Iwamaa, X., Zhang, G.: Online knapsack with resource augmentation. Information Processing Letters 110(22), 1016–1020 (2010)
Kleywegt, A.J., Papastavrou, J.D.: The dynamic and stochastic knapsack problem. Operations Research 46(1), 17–35 (1998)
Liebchen, C., Lübbecke, M., Möhring, R., Stiller, S.: The concept of recoverable robustness, linear programming recovery, and railway applications. In: Ahuja, R.K., Möhring, R.H., Zaroliagis, C.D. (eds.) Robust and Online Large-Scale Optimization. LNCS, vol. 5868, pp. 1–27. Springer, Heidelberg (2009)
Lueker, G.S.: Average-case analysis of off-line and on-line knapsack problems. J. of Algorithms 29(2), 277–305 (1998)
Marchetti-Spaccamela, A., Vercellis, C.: Stochastic on-line knapsack problems. Mathematical Programming 68(1–3), 73–104 (1995)
Martello, S., Toth, P.: Knapsack problems. J. Wiley & Sons, Chichester (1990)
Megow, N., Mestre, J.: Instance-sensitive robustness guarantees for sequencing with unknown packing and covering constraints. In: Proc. of the 4th International Conference on Innovations in Theoretical Computer Science (ITCS), pp. 495–504. ACM (2013)
Noga, J., Sarbua, V.: An online partially fractional knapsack problem. In: Proc. of the 8th Sym. Parallel Architectures, Algorithms and Networks (ISPAN), pp. 108–112. IEEE Computer Society (2005)
Papastavrou, J.D., Rajagopalan, S., Kleywegt, A.J.: The dynamic and stochastic knapsack problem with deadlines. Manage. Sci. 42(12), 1706–1718 (1996)
Zhou, Y., Chakrabarty, D., Lukose, R.: Budget constrained bidding in keyword auctions and online knapsack problems. In: Papadimitriou, C., Zhang, S. (eds.) WINE 2008. LNCS, vol. 5385, pp. 566–576. Springer, Heidelberg (2008)
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2015 Springer International Publishing Switzerland
About this paper
Cite this paper
Diodati, D., Navarra, A., Pinotti, C.M. (2015). Online Knapsack of Unknown Capacity:. In: Bampis, E. (eds) Experimental Algorithms. SEA 2015. Lecture Notes in Computer Science(), vol 9125. Springer, Cham. https://doi.org/10.1007/978-3-319-20086-6_13
Download citation
DOI: https://doi.org/10.1007/978-3-319-20086-6_13
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-319-20085-9
Online ISBN: 978-3-319-20086-6
eBook Packages: Computer ScienceComputer Science (R0)