Skip to main content
Log in

Online Bin Packing with Advice of Small Size

  • Published:
Theory of Computing Systems Aims and scope Submit manuscript

Abstract

In this paper, we study the advice complexity of the online bin packing problem. In this well-studied setting, the online algorithm is supplemented with some additional information concerning the input. We improve upon both known upper and lower bounds of online algorithms for this problem. On the positive side, we first provide a relatively simple algorithm that achieves a competitive ratio arbitrarily close to 1.5, using constant-size advice. Our result implies that 16 bits of advice suffice to obtain a competitive ratio better than any online algorithm without advice, thus improving the previously known bound of O(log(n)) bits required to attain this performance. In addition, we introduce a more complex algorithm that still requires only constant-size advice, and has a competitive ratio arbitrarily close to 1.47012. This is the currently best performance of any online bin packing algorithm with sublinear advice. On the negative side, we extend a construction due to Boyar et al. (Algorithmica 74(1), 507–527 2016) so as to show that no online algorithm with sub-linear advice can be 7/6-competitive, improving on the lower bound of 9/8 from Boyar et al.

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

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3

Similar content being viewed by others

Notes

  1. Technically, the statement of Lemma 16 is very similar to Lemma 9 in [13]. We note, however, that the latter is correct only when the number of 0s is n/2. To avoid any ambiguity, the statement of Lemma 16 is parameterized by β, as opposed to Lemma 9 in [13].

References

  1. Adamaszek, A., Renault, M.P., Rosėn, A., van Stee, R.: Reordering buffer management with advice. J. Schedul. (2016)

  2. Angelopoulos, S., Dürr, C., Kamali, S., Renault, M.P., Rosén, A.: Online bin packing with advice of small size. In: Dehne, F., Sack, J., Stege, U. (eds.) Algorithms and Data Structures - 14th International Symposium, WADS 2015, Victoria, BC, Canada, August 5-7, 2015. Proceedings, Lecture Notes in Computer Science, vol. 9214, pp 40–53. Springer (2015)

  3. Asgeirsson, E., Ayesta, U., Coffman, E., Etra, J., Momcilovic, P., Phillips, D., Vokhshoori, V., Wang, Z., Wolfe, J.: Closed on-line bin packing. Acta Cybernet. 15(3), 361–367 (2002)

    MathSciNet  MATH  Google Scholar 

  4. Balogh, J., Békési, J., Galambos, G.: New lower bounds for certain classes of bin packing algorithms. Theoret. Comput. Sci. 440–441, 1–13 (2012)

    Article  MathSciNet  MATH  Google Scholar 

  5. Bianchi, M.P., Böckenhauer, H., Brülisauer, T., Komm, D., Palano, B.: Online minimum spanning tree with advice - (extended abstract). In: Freivalds, R.M., Engels, G., Catania, B. (eds.) SOFSEM 2016: Theory and Practice of Computer Science - 42nd International Conference on Current Trends in Theory and Practice of Computer Science, Harrachov, Czech Republic, January 23-28, 2016, Proceedings, Lecture Notes in Computer Science, vol. 9587, pp 195–207. Springer (2016)

  6. Bȯckenhauer, H., Komm, D., Krȧlovic, R., Rossmanith, P.: The online knapsack problem: Advice and randomization. Theor. Comput. Sci. 527, 61–72 (2014)

    Article  MathSciNet  MATH  Google Scholar 

  7. Böckenhauer, H.J., Hromkovic, J., Komm, D., Krug, S., Smula, J., Sprock, A.: The string guessing problem as a method to prove lower bounds on the advice complexity. Theoret. Comput. Sci. 554, 95–108 (2014)

    Article  MathSciNet  MATH  Google Scholar 

  8. Böckenhauer, H.J., Komm, D., Královič, R., Královič, R.: On the advice complexity of the k-server problem. In: Proc. 38th International Colloquium on Automata, Languages, and Programming (ICALP), Lecture Notes in Comput. Sci., vol. 6755, pp. 207–218. Springer (2011)

  9. Böckenhauer, H.J., Komm, D., Královič, R., Královič, R., Mömke, T.: On the advice complexity of online problems. In: Proc. 20th International Symp. on Algorithms and Computation (ISAAC), Lecture Notes in Comput. Sci., vol. 5878, pp. 331–340. Springer (2009)

  10. Borodin, A., El-Yaniv, R.: Online Computation and Competitive Analysis. Cambridge University Press (1998)

  11. Boyar, J., Favrholdt, L., Kudahl, C., Larsen, K. S., Mikkelsen, J.W.: Online algorithms with advice: A survey. SIGACT News 47(3), 93–129 (2016)

    Article  MathSciNet  MATH  Google Scholar 

  12. Boyar, J., Kamali, S., Larsen, K.S., López-Ortiz, A.: On the list update problem with advice. Inf. Comput. (2016)

  13. Boyar, J., Kamali, S., Larsen, K.S., Lȯpez-Ortiz, A.: Online bin packing with advice. Algorithmica 74(1), 507–527 (2016)

    Article  MathSciNet  MATH  Google Scholar 

  14. Dobrev, S., Kralovic, R., Pardubská, D.: How much information about the future is needed? In: Proc. 34th International Conf. on Current Trends in Theory and Practice of Computer Science (SOFSEM), Lecture Notes in Comput. Sci., vol. 4910, pp. 247–258. Springer (2008)

  15. Dobrev, S., Královič, R., Pardubská, D.: Measuring the problem-relevant information in input. RAIRO Inform Theor. Appl. 43(3), 585–613 (2009)

    Article  MathSciNet  MATH  Google Scholar 

  16. Emek, Y., Fraigniaud, P., Korman, A., Rosén, A.: Online computation with advice. Theoret. Comput. Sci. 412(24), 2642–2656 (2011)

    Article  MathSciNet  MATH  Google Scholar 

  17. Epstein, L., Levin, A.: On bin packing with conflicts. SIAM J. Optim. 19 (3), 1270–1298 (2008)

    Article  MathSciNet  MATH  Google Scholar 

  18. Galambos, G., Woeginger, G.J.: Repacking helps in bounded space online bin packing. Computing 49, 329–338 (1993)

    Article  MathSciNet  MATH  Google Scholar 

  19. Gambosi, G., Postiglione, A., Talamo, M.: Algorithms for the relaxed online bin-packing model. SIAM J. Comput. 30(5), 1532–1551 (2000)

    Article  MathSciNet  MATH  Google Scholar 

  20. Garey, M.R., Graham, R.L., Ullman, J.D.: Worst-case analysis of memory allocation algorithms. In: Fischer, P.C., Zeiger, H.P., Ullman, J.D., Rosenberg, A.L. (eds.) STOC, pp 143–150. ACM (1972)

  21. Garey, M.R., Johnson, D.S.: Approximation algorithms for bin packing problems - a survey. In: Ausiello, G., Lucertini, M. (eds.) Analysis and Design of Algorithms in Combinatorial Optimization, pp 147–172. Springer, New York (1981)

  22. Grove, E.F.: Online binpacking with lookahead. In: Proc. 6th Symp. on Discrete Algorithms (SODA), pp. 430–436 (1995)

  23. Gupta, S., Kamali, S., López-Ortiz, A.: On advice complexity of the k-server problem under sparse metrics. Theory Comput. Syst. 59(3), 476–499 (2016)

    Article  MathSciNet  MATH  Google Scholar 

  24. Heydrich, S., van Stee, R.: Beating the harmonic lower bound for online bin packing. In: 43rd International Colloquium on Automata, Languages, and Programming, ICALP 2016, July 11-15, 2016, Rome, Italy, pp. 41:1–41:14 (2016)

  25. Johnson, D.S.: Near-Optimal Bin Packing Algorithms. Ph.D. thesis, MIT, Cambridge MA (1973)

  26. Johnson, D.S., Demers, A., Ullman, J.D., Garey, M.R., Graham, R.L.: Worst-case performance bounds for simple one-dimensional packing algorithms. SIAM J. Comput. 3, 256–278 (1974)

    Article  MathSciNet  MATH  Google Scholar 

  27. M., J.W.: Randomization can be as helpful as a glimpse of the future in online computation. In: 43rd International Colloquium on Automata, Languages, and Programming, ICALP 2016, July 11-15, 2016, Rome, Italy, pp. 39:1–39:14 (2016)

  28. Komm, D., Královič, R.: Advice complexity and barely random algorithms. RAIRO Inform Theor. Appl. 45(2), 249–267 (2011)

    Article  MathSciNet  MATH  Google Scholar 

  29. Renault, M.P., Rosėn, A.: On online algorithms with advice for the k-server problem. Theory Comput. Syst. 56(1), 3–21 (2015)

    Article  MathSciNet  MATH  Google Scholar 

  30. Renault, M.P., Rosėn, A., van Stee, R.: Online algorithms with advice for bin packing and scheduling problems. Theor. Comput. Sci. 600, 155–170 (2015)

    Article  MathSciNet  MATH  Google Scholar 

  31. Sloane, N.J.A.: The on-line encyclopedia of integer sequences. Sequence A000041

Download references

Acknowledgments

Research supported in part by project ANR-11-BS02-0015 “New Techniques in Online Computation–NeTOC”. A preliminary version of this paper appeared in the Proceedings of the 14th International Symposium on Algorithms and Data Structures (WADS), 2015 [2].

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Shahin Kamali.

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Angelopoulos, S., Dürr, C., Kamali, S. et al. Online Bin Packing with Advice of Small Size. Theory Comput Syst 62, 2006–2034 (2018). https://doi.org/10.1007/s00224-018-9862-5

Download citation

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s00224-018-9862-5

Keywords

Navigation