Skip to main content

Online Knapsack of Unknown Capacity:

Energy Optimization for Smartphone Communications

  • Conference paper
  • First Online:
Experimental Algorithms (SEA 2015)

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

Included in the following conference series:

  • 1280 Accesses

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.

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 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

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. 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)

    Chapter  Google Scholar 

  2. 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)

    Google Scholar 

  3. Cygan, M., Jeż, Ł.: Online knapsack revisited. In: Kaklamanis, C., Pruhs, K. (eds.) WAOA 2013. LNCS, vol. 8447, pp. 144–155. Springer, Heidelberg (2014)

    Google Scholar 

  4. Das, S., Ghosh, D.: Binary knapsack problems with random budgets. The Journal of the Operational Research Society 54(9), 970–983 (2003)

    Article  MATH  Google Scholar 

  5. 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)

    Google Scholar 

  6. Han, X., Kawase, Y., Makino, K., Guo, H.: Online removable knapsack problem under convex function. Theor. Comput. Sci. 540, 62–69 (2014)

    Article  MathSciNet  Google Scholar 

  7. 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)

    Chapter  Google Scholar 

  8. Iwamaa, X., Zhang, G.: Online knapsack with resource augmentation. Information Processing Letters 110(22), 1016–1020 (2010)

    Article  MathSciNet  Google Scholar 

  9. Kleywegt, A.J., Papastavrou, J.D.: The dynamic and stochastic knapsack problem. Operations Research 46(1), 17–35 (1998)

    Article  MATH  MathSciNet  Google Scholar 

  10. 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)

    Chapter  Google Scholar 

  11. Lueker, G.S.: Average-case analysis of off-line and on-line knapsack problems. J. of Algorithms 29(2), 277–305 (1998)

    Article  MATH  MathSciNet  Google Scholar 

  12. Marchetti-Spaccamela, A., Vercellis, C.: Stochastic on-line knapsack problems. Mathematical Programming 68(1–3), 73–104 (1995)

    MATH  MathSciNet  Google Scholar 

  13. Martello, S., Toth, P.: Knapsack problems. J. Wiley & Sons, Chichester (1990)

    MATH  Google Scholar 

  14. 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)

    Google Scholar 

  15. 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)

    Google Scholar 

  16. Papastavrou, J.D., Rajagopalan, S., Kleywegt, A.J.: The dynamic and stochastic knapsack problem with deadlines. Manage. Sci. 42(12), 1706–1718 (1996)

    Article  MATH  Google Scholar 

  17. 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)

    Chapter  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Alfredo Navarra .

Editor information

Editors and Affiliations

Rights and permissions

Reprints 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)

Publish with us

Policies and ethics