Abstract
The bin covering problem asks for covering a maximum number of bins with an online sequence of n items of different sizes in the range (0, 1]; a bin is said to be covered if it receives items of total size at least 1. We study this problem in the advice setting and provide asymptotically tight bounds of \(\Theta (n \log {\textsc {Opt}})\) on the size of advice required to achieve optimal solutions. Moreover, we show that any algorithm with advice of size \(o(\log \log n)\) has a competitive ratio of at most 0.5. In other words, advice of size \(o(\log \log n)\) is useless for improving the competitive ratio of 0.5, attainable by an online algorithm without advice. This result highlights a difference between the bin covering and the bin packing problems in the advice model: for the bin packing problem, there are several algorithms with advice of constant size that outperform online algorithms without advice. Furthermore, we show that advice of size \(O(\log \log n)\) is sufficient to achieve an asymptotic competitive ratio of \(0.5\bar{3}\) which is strictly better than the best ratio 0.5 attainable by purely online algorithms. The technicalities involved in introducing and analyzing this algorithm are quite different from the existing results for the bin packing problem and confirm the different nature of these two problems. Finally, we show that a linear number of advice bits is necessary to achieve any competitive ratio better than 15/16 for the online bin covering problem.



Similar content being viewed by others
References
Angelopoulos, S., Dürr, C., Kamali, S., Renault, M.P., Rosén, A.: Online bin packing with advice of small size. Theory Comput. Syst. 62(8), 2006–2034 (2018)
Ásgeirsson, E.I., Ayesta, U., Coffman, E.G., Jr., Etra, J., Momcilovic, P., Phillips, D.J., Vokhshoori, V., Wang, Z., Wolfe, J.: Closed on-line bin packing. Acta Cybernetica 15(3), 361–367 (2002)
Assmann, S.F., Johnson, D.S., Kleitman, D.J., Leung, J.Y.: On a dual version of the one-dimensional bin packing problem. J. Algorithms 5(4), 502–525 (1984)
Balogh, J., Békési, J., Dósa, G., Epstein, L., Levin, A.: A new and improved algorithm for online bin packing. In: 26th Annual European Symposium on Algorithms (ESA), Leibniz International Proceedings in Informatics (LIPIcs), vol. 112, pp. 5:1–5:14. Schloss Dagstuhl–Leibniz-Zentrum fuer Informatik (2018)
Balogh, J., Békési, J., Dósa, G., Epstein, L., Levin, A.: A new lower bound for classic online bin packing. ArXiv 1807.05554 [cs:DS] (2018)
Böckenhauer, H., Hromkovic, J., Komm, D.: A technique to obtain hardness results for randomized online algorithms—a survey. In: Computing with New Resources—Essays Dedicated to Jozef Gruska on the Occasion of His 80th Birthday, Lecture Notes in Computer Science, vol. 8808, pp. 264–276. Springer (2014)
Böckenhauer, H., Hromkovič, J., Komm, D., Krug, S., Smula, J., Sprock, A.: The string guessing problem as a method to prove lower bounds on the advice complexity. Theor. Computut. Sci. 554, 95–108 (2014)
Böckenhauer, H., Komm, D., Královic, R., Královic, R.: On the advice complexity of the k-server problem. J. Comput. Syst. Sci. 86, 159–170 (2017)
Böckenhauer, H., Komm, D., Královic, R., Královic, R., Mömke, T.: Online algorithms with advice: the tape model. Inf. Comput. 254, 59–83 (2017)
Borodin, A., Pankratov, D., Salehi-Abari, A.: A simple PTAS for the dual bin packing problem and advice complexity of its online version. In: 1st Symposium on Simplicity in Algorithms (SOSA), LIPIcs, pp. 8:1–8:12. Schloss Dagstuhl–Leibniz-Zentrum fuer Informatik (2018)
Boyar, J., Favrholdt, L.M., Kudahl, C., Larsen, K.S., Mikkelsen, J.W.: Online algorithms with advice: a survey. ACM Comput. Surv. 50(2), 19:1–19:34 (2017)
Boyar, J., Kamali, S., Larsen, K.S., López-Ortiz, A.: Online bin packing with advice. Algorithmica 74(1), 507–527 (2016)
Csirik, J., Totik, V.: Online algorithms for a dual version of bin packing. Discrete Appl. Math. 21(2), 163–167 (1988)
Dürr, C., Konrad, C., Renault, M.P.: On the power of advice and randomization for online bipartite matching. In: 24th Annual European Symposium on Algorithms (ESA), LIPIcs, vol. 57, pp. 37:1–37:16. Schloss Dagstuhl–Leibniz-Zentrum fuer Informatik (2016)
Grove, E.F.: Online bin packing with lookahead. In: 6th Annual ACM-SIAM Symposium on Discrete Algorithms (SODA), pp. 430–436. SIAM (1995)
Hoberg, R., Rothvoss, T.: A logarithmic additive integrality gap for bin packing. In: 28th Annual ACM-SIAM Symposium on Discrete Algorithms (SODA), pp. 2616–2625. SIAM (2017)
Hromkovic, J., Královic, R., Královic, R.: Information complexity of online problems. In: 35th International Symposium on Mathematical Foundations of Computer Science (MFCS) 2010, Lecture Notes in Computer Science, vol. 6281, pp. 24–36. Springer (2010)
Jansen, K., Solis-Oba, R.: An asymptotic fully polynomial time approximation scheme for bin covering. Theor. Comput. Sci. 306(1–3), 543–551 (2003)
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), pp. 312–320. IEEE Computer Society (1982)
Komm, D.: An Introduction to Online Computation-Determinism, Randomization, Advice. Texts in Theoretical Computer Science. An EATCS Series. Springer, Berlin (2016)
Mikkelsen, 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), pp. 39:1–39:14. Springer (2016)
Renault, M.P.: Online algorithms with advice for the dual bin packing problem. Central Eur. J. Oper. Res. 25(4), 953–966 (2017)
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)
Rothvoss, T.: Approximating bin packing within o(log OPT * log log OPT) bins. In: 54th Annual IEEE Symposium on Foundations of Computer Science (FOCS), pp. 20–29. IEEE Computer Society (2013)
Acknowledgements
We thank anonymous referees for their valuable comments.
Author information
Authors and Affiliations
Corresponding author
Additional information
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Joan Boyar, Lene M. Favrholdt, Kim S. Larsen were supported in part by the Danish Council for Independent Research, Natural Sciences, Grant DFF-1323-00247. A preliminary version of this paper appeared in the 16th International Algorithms and Data Structures Symposium (WADS), volume 11646 of Lecture Notes in Computer Science, Springer 2019.
Rights and permissions
About this article
Cite this article
Boyar, J., Favrholdt, L.M., Kamali, S. et al. Online Bin Covering with Advice. Algorithmica 83, 795–821 (2021). https://doi.org/10.1007/s00453-020-00728-0
Received:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s00453-020-00728-0