Online Bin Packing: Old Algorithms and New Results

In the bin packing problem we are given an instance consisting of a sequence of items with sizes between 0 and 1. The objective is to pack these items into the smallest possible number of bins of unit size. FirstFit and BestFit algorithms are simple online algorithms introduced in early seventies, when it was also shown that their asymptotic approximation ratio is equal to 1.7. We present a simple proof of this bound and survey recent developments that lead to the proof that also the absolute approximation ratio of these algorithms is exactly 1.7. More precisely, if the optimum needs opt bins, the algorithms use at most \(\lfloor1.7\cdot\) OPT \(\rfloor\) bins and for each value of opt, there are instances that actually need so many bins. We also discuss bounded-space bin packing, where the online algorithm is allowed to keep only a fixed number of bins open for future items. In this model, a variant of BestFit also has asymptotic approximation ratio 1.7, although it is possible that the bound is significantly smaller if also the offline solution is required to satisfy the bounded-space restriction.

[1]  Jeffrey D. Ullman,et al.  Worst-Case Performance Bounds for Simple One-Dimensional Packing Algorithms , 1974, SIAM J. Comput..

[2]  Leah Epstein,et al.  On the absolute approximation ratio for First Fit and related results , 2012, Discret. Appl. Math..

[3]  Jirí Sgall,et al.  Optimal Analysis of Best Fit Bin Packing , 2014, ICALP.

[4]  Andrew Chi-Chih Yao,et al.  Resource Constrained Scheduling as Generalized Bin Packing , 1976, J. Comb. Theory A.

[5]  H. H. Johnson Optimum Time for Multiplication on a Digital Computer , 1961, Comput. J..

[6]  Jeffrey D. Ullman,et al.  Worst-case analysis of memory allocation algorithms , 1972, STOC.

[7]  Camil Demetrescu,et al.  Algorithms – ESA 2011 , 2011, Lecture Notes in Computer Science.

[8]  David P. Williamson,et al.  The Design of Approximation Algorithms , 2011 .

[9]  Edward G. Coffman,et al.  Approximation algorithms for bin packing: a survey , 1996 .

[10]  Jirí Sgall,et al.  First Fit bin packing: A tight analysis , 2013, STACS.

[11]  Vijay V. Vazirani,et al.  Approximation Algorithms , 2001, Springer Berlin Heidelberg.

[12]  György Dósa,et al.  The Tight Bound of First Fit Decreasing Bin-Packing Algorithm Is FFD(I) <= 11/9OPT(I) + 6/9 , 2007, ESCAPE.

[13]  Mike Paterson,et al.  Combinatorics, Algorithms, Probabilistic and Experimental Methodologies, First International Symposium, ESCAPE 2007, Hangzhou, China, April 7-9, 2007, Revised Selected Papers , 2007, ESCAPE.

[14]  David S. Johnson,et al.  Near-optimal bin packing algorithms , 1973 .

[15]  Binzhou Xia,et al.  Tighter bounds of the First Fit algorithm for the bin-packing problem , 2010, Discret. Appl. Math..

[16]  Panos M. Pardalos,et al.  Handbook of applied optimization , 2002 .

[17]  David S. Johnson,et al.  Fast Algorithms for Bin Packing , 1974, J. Comput. Syst. Sci..

[18]  Gerhard J. Woeginger,et al.  Approximate solutions to bin packing problems , 2002 .

[19]  D. T. Lee,et al.  A simple on-line bin-packing algorithm , 1985, JACM.

[20]  Ronald L. Graham,et al.  Bounds on Multiprocessing Timing Anomalies , 1969, SIAM Journal of Applied Mathematics.

[21]  Ronald L. Graham,et al.  Bounds for certain multiprocessing anomalies , 1966 .

[22]  D. Simchi-Levi New worst‐case results for the bin‐packing problem , 1994 .

[23]  David S. Johnson,et al.  Bounded Space On-Line Bin Packing: Best Is Better than First , 1991, SODA '91.

[24]  Marek Chrobak,et al.  Two-Bounded-Space Bin Packing Revisited , 2011, ESA.

[25]  Jeffrey D. Ullman,et al.  The performance of a memory allocation algorithm , 1971 .

[26]  Jirí Sgall,et al.  A New Analysis of Best Fit Bin Packing , 2012, FUN.