Average-case analyses of first fit and random fit bin packing

We prove that the First Fit bin packing algorithm is stable under the input distribution U”k − 2; k• for all k ≥ 3, settling an open question from the recent survey by Coffman, Garey, and Johnson [“Approximation algorithms for bin backing: A survey,” Approximation algorithms for NP-hard problems, D. Hochbaum (Editor), PWS, Boston, 1996]. Our proof generalizes the multidimensional Markov chain analysis used by Kenyon, Sinclair, and Rabani to prove that Best Fit is also stable under these distributions [Proc Seventh Annual ACM-SIAM Symposium on Discrete Algorithms, 1995, pp. 351–358]. Our proof is motivated by an analysis of Random Fit, a new simple packing algorithm related to First Fit, that is interesting in its own right. We show that Random Fit is stable under the input distributions U”k− 2; k•, as well as present worst case bounds and some results on distributions U”k− 1; k• and U”k; k• for Random Fit. © 2000 John Wiley & Sons, Inc. Random Struct. Alg., 16, 240–259, 2000 Correspondence to: Michael Mitzenmacher. *Most of this work was done while at the Max-Planch-Institut fur Informatik, Saarbrucken, Germany. † A substantial portion of this research was done while at the Computer Science Department, UC Berkeley and Digital Equipment Corporation Systems Research Center. Contract grant sponsor: National Science Foundation. Contract grant number: CCR-9505448. © 2000 John Wiley & Sons, Inc.

[1]  Dorit S. Hochbaum,et al.  Approximation Algorithms for NP-Hard Problems , 1996 .

[2]  Jeffrey D. Ullman,et al.  Worst case bounds for simple one-dimensional packing algorithms , 1974 .

[3]  Michael Mitzenmacher,et al.  Load balancing and density dependent jump Markov processes , 1996, Proceedings of 37th Conference on Foundations of Computer Science.

[4]  Eli Upfal,et al.  Balanced Allocations , 1999, SIAM J. Comput..

[5]  Mihalis Yannakakis,et al.  Fundamental discrepancies between average-case analyses under discrete and continuous distributions: a bin packing case study , 1991, STOC '91.

[6]  Richard L. Tweedie,et al.  Markov Chains and Stochastic Stability , 1993, Communications and Control Engineering Series.

[7]  Edward G. Coffman,et al.  Markov chains, computer proofs, and average-case analysis of best fit bin packing , 1993, STOC '93.

[8]  Frank Thomson Leighton,et al.  Tight bounds for minimax grid matching, with applications to the average case analysis of algorithms , 1986, STOC '86.

[9]  Nabil Kahale Large Deviation Bounds for Markov Chains , 1997, Comb. Probab. Comput..

[10]  G. Fayolle,et al.  Topics in the Constructive Theory of Countable Markov Chains: Ideology of induced chains , 1995 .

[11]  Peter W. Shor The average-case analysis of some on-line algorithms for bin packing , 1986, Comb..

[12]  G. Fayolle,et al.  Topics in the Constructive Theory of Countable Markov Chains , 1995 .

[13]  Frank Thomson Leighton,et al.  Tight bounds for minimax grid matching with applications to the average case analysis of algorithms , 1989, Comb..

[14]  B. Hajek Hitting-time and occupation-time bounds implied by drift analysis with applications , 1982, Advances in Applied Probability.

[15]  Dorit S. Hochba,et al.  Approximation Algorithms for NP-Hard Problems , 1997, SIGA.

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

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

[18]  Yossi Azar,et al.  Biased random walks , 1992, STOC '92.

[19]  Yuval Rabani,et al.  Biased random walks, Lyapunov functions, and stochastic analysis of best fit bin packing , 1996, SODA '96.

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