Average Case Analysis of Bounded Space Bin Packing Algorithms

Abstract We consider the one-dimensional bin packing problem and analyze the average case performance of bounded space algorithms. The analysis covers a wide variety of bin packing algorithms including Next-K Fit, K-Bounded Best Fit and Harmonic algorithms, as well as of others. We assume discrete item sizes, an assumption which is true in most real-world applications of bin packing. We present a Markov chains method which is general enough to calculate results for any i.i.d. discrete item size distribution. The paper presents many results heretofore unknown or conjectured from simulation. Some of the results are surprising as they differ considerably from results for continuous distributions.

[1]  Wansoo T. Rhee,et al.  Martingale Inequalities and NP-Complete Problems , 1987, Math. Oper. Res..

[2]  Wansoo T. Rhee Probabilistic analysis of the next fit decreasing algorithm for bin-packing , 1987 .

[3]  W. Mao Besk-k-Fit bin packing , 2005, Computing.

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

[5]  Edward G. Coffman,et al.  Stochastic analysis of a slotted FIFO communication channel , 1993, IEEE Trans. Inf. Theory.

[6]  David S. Johnson,et al.  Computers and Intractability: A Guide to the Theory of NP-Completeness , 1978 .

[7]  Prakash V. Ramanan Average-Case Analysis of the Smart Next Fit Algorithm , 1989, Inf. Process. Lett..

[8]  David S. Johnson,et al.  Bin packing with discrete item sizes, part II: tight bounds on first fit , 1997 .

[9]  Claire Mathieu,et al.  On the Sum-of-Squares algorithm for bin packing , 2002, JACM.

[10]  Micha Hofri,et al.  A Stochastic Model of Bin-Packing , 1980, Inf. Control..

[11]  Micha Hofri,et al.  A Stochastic Analysis of the NFD Bin-Packing Algorithm , 1986, J. Algorithms.

[12]  Micha Hofri A Probabilistic Analysis of the Next-Fit Bin Packing Algorithm , 1984, J. Algorithms.

[13]  Claire Mathieu,et al.  A Self Organizing Bin Packing Heuristic , 1999, ALENEX.

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

[15]  J. B. G. Frenk,et al.  A probabilistic analysis of the next fit decreasing bin packing heuristic , 1986 .

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

[17]  N. Karmarkar Probabilistic analysis of some bin-packing problems , 1982, FOCS 1982.

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

[19]  Wansoo T. Rhee Optimal Bin Packing with Items of Random Sizes , 1988, Math. Oper. Res..

[20]  Wansoo T. Rhee,et al.  Optimal Bin Packing with Items of Random Sizes III , 1989, SIAM J. Comput..

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

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

[23]  D. Vere-Jones Markov Chains , 1972, Nature.

[24]  Mihalis Yannakakis,et al.  Bin Packing with Discrete Item Sizes, Part I: Perfect Packing Theorems and the Average Case Behavior of Optimal Packings , 2000, SIAM J. Discret. Math..

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

[26]  David S. Johnson,et al.  The Cutting-Stock Approach to Bin Packing: Theory and Experiments , 2003, ALENEX.

[27]  Edward G. Coffman,et al.  Probabilistic analysis of packing and partitioning algorithms , 1991, Wiley-Interscience series in discrete mathematics and optimization.

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

[29]  Costas Courcoubetis,et al.  NECESSARY AND SUFFICIENT CONDITIONS FOR STABILITY OF A BIN-PACKING SYSTEM , 1986 .