Skip to main content

Bin Packing

1997; Coffman, Garay, Johnson

  • Reference work entry
Encyclopedia of Algorithms

Keywords and Synonyms

Cutting stock problem                  

Problem Definition

In the one‐dimensional bin packing problem, one is given a list \( { L = (a_1,a_2,\ldots,a_n) } \) of items, each item a i having a size \( { s(a_i) \in (0,1] } \). The goal is to pack the items into a minimum number of unit-capacity bins, that is, to partition the items into a minimum number of sets, each having total size of at most 1. This problem is NP-hard, and so much of the research on it has concerned the design and analysis of approximation algorithms, which will be the subject of this article.

Although bin packing has many applications, it is perhaps most important for the role it has played as a proving ground for new algorithmic and analytical techniques. Some of the first worst- and average-case results for approximation algorithms were proved in this domain, as well as the first lower bounds on the competitive ratios of online algorithms. Readers interested in a more detailed coverage than is possible here are...

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

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 399.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Recommended Reading

  1. Bentley, J.L., Johnson, D.S., Leighton, F.T., McGeoch, C.C.: An experimental study of bin packing. In: Proc. of the 21st Annual Allerton Conference on Communication, Control, and Computing, Urbana, University of Illinois, 1983 pp. 51–60

    Google Scholar 

  2. Bentley, J.L., Johnson, D.S., Leighton, F.T., McGeoch, C.C., McGeoch, L.A.: Some unexpected expected behavior results for bin packing. In: Proc. of the 16th Annual ACM Symposium on Theory of Computing, pp. 279–288. ACM, New York (1984)

    Google Scholar 

  3. Coffman Jr, E.G., Courcoubetis, C., Garey, M.R., Johnson, D.S., McGeoch, L.A., Shor, P.W., Weber, R.R., Yannakakis, M.: Fundamental discrepancies between average-case analyses under discrete and continuous distributions. In: Proc. of the 23rd Annual ACM Symposium on Theory of Computing, New York, 1991, pp. 230–240. ACM Press, New York (1991)

    Google Scholar 

  4. Coffman Jr., E.G., Garey, M.R., Johnson, D.S.: Approximation algorithms for bin-packing: A survey. In: Hochbaum, D. (ed.) Approximation Algorithms for NP-Hard Problems, pp. 46–93. PWS Publishing, Boston (1997)

    Google Scholar 

  5. Coffman Jr., E.G., Johnson, D.S., Shor, P.W., Weber, R.R.: Bin packing with discrete item sizes, part II: Tight bounds on first fit. Random Struct. Algorithms 10, 69–101 (1997)

    Article  MathSciNet  MATH  Google Scholar 

  6. Coffman Jr., E.G., So, K., Hofri, M., Yao, A.C.: A stochastic model of bin-packing. Inf. Cont. 44, 105–115 (1980)

    Article  MathSciNet  MATH  Google Scholar 

  7. Courcoubetis, C., Weber, R.R.: Necessary and sufficient conditions for stability of a bin packing system. J. Appl. Prob. 23, 989–999 (1986)

    Article  MathSciNet  MATH  Google Scholar 

  8. Csirik, J., Johnson, D.S.: Bounded space on-line bin packing: Best is better than first. Algorithmica 31, 115–138 (2001)

    Article  MathSciNet  MATH  Google Scholar 

  9. Csirik, J., Johnson, D.S., Kenyon, C., Orlin, J.B., Shor, P.W., Weber, R.R.: On the sum-of-squares algorithm for bin packing. J. ACM 53, 1–65 (2006)

    Article  MathSciNet  Google Scholar 

  10. Csirik, J., Johnson, D.S., Kenyon, C., Shor, P.W., Weber, R.R.: A self organizing bin packing heuristic. In: Proc. of the 1999 Workshop on Algorithm Engineering and Experimentation. LNCS, vol. 1619, pp. 246–265. Springer, Berlin (1999)

    Google Scholar 

  11. Galambos, G., Woeginger, G.J.: Online bin packing – a restricted survey. ZOR Math. Methods Oper. Res. 42, 25–45 (1995)

    Article  MathSciNet  MATH  Google Scholar 

  12. Johnson, D.S.: Near-Optimal Bin Packing Algorithms. Ph. D. thesis, Massachusetts Institute of Technology, Department of Mathematics, Cambridge (1973)

    Google Scholar 

  13. 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, 299–325 (1974)

    Article  MathSciNet  Google Scholar 

  14. Johnson, D.S., Leighton, F.T., Shor, P.W., Weber, R.R.: The expected behavior of FFD, BFD, and optimal bin packing under \( { U(0,\alpha]) } \) distributions (in preparation)

    Google Scholar 

  15. Karmarkar, N., Karp, R.M.: An efficient approximation scheme for the one‐dimensional bin packing problem. In: Proc. of the 23rd Annual Symposium on Foundations of Computer Science, pp. 312–320. IEEE Computer Soc, Los Alamitos, CA (1982)

    Google Scholar 

  16. Knödel, W.: A bin packing algorithm with complexity \( { {O}(n log n) } \) in the stochastic limit. In: Proc. 10th Symp. on Mathematical Foundations of Computer Science. LNCS, vol. 118, pp. 369–378. Springer, Berlin (1981)

    Google Scholar 

  17. Lee, C.C., Lee, D.T.: A simple on-line packing algorithm. J. ACM 32, 562–572 (1985)

    Article  MATH  Google Scholar 

  18. Lee, C.C., Lee, D.T.: Robust on-line bin packing algorithms. Tech. Rep. Department of Electrical Engineering and Computer Science, Northwestern University, Evanston, IL (1987)

    Google Scholar 

  19. Leighton, T., Shor, P.: Tight bounds for minimax grid matching with applications to the average case analysis of algorithms. Combinatorica 9 161–187 (1989)

    Google Scholar 

  20. Lueker, G.S.: An average-case analysis of bin packing with uniformly distributed item sizes. Tech. Rep. Report No 181, Dept. of Information and Computer Science, University of California, Irvine, CA (1982)

    Google Scholar 

  21. Seiden, S.S.: On the online bin packing problem. J. ACM 49, 640–671 (2002)

    Article  MathSciNet  Google Scholar 

  22. Ullman, J.D.: The performance of a memory allocation algorithm. Tech. Rep. 100, Princeton University, Princeton, NJ (1971)

    Google Scholar 

  23. van Vliet, A.: An improved lower bound for on-line bin packing algorithms. Inf. Proc. Lett. 43, 277–284 (1992)

    Article  MATH  Google Scholar 

  24. Yao, A.C.: New algorithms for bin packing. J. ACM 27, 207–227 (1980)

    Article  MATH  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2008 Springer-Verlag

About this entry

Cite this entry

Johnson, D. (2008). Bin Packing. In: Kao, MY. (eds) Encyclopedia of Algorithms. Springer, Boston, MA. https://doi.org/10.1007/978-0-387-30162-4_49

Download citation

Publish with us

Policies and ethics