Skip to main content

Bin Packing

  • Reference work entry
  • First Online:
Encyclopedia of Algorithms

Years and Authors of Summarized Original Work

  • 1997; Coffman, Garay, Johnson

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...

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 1,599.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Hardcover Book
USD 1,999.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Recommended Reading

  1. Bentley JL, Johnson DS, Leighton FT, McGeoch CC (1983) An experimental study of bin packing. In: Proceedings of the 21st annual Allerton conference on communication, control, and computing, Urbana, University of Illinois, 1983, pp 51–60

    Google Scholar 

  2. Bentley JL, Johnson DS, Leighton FT, McGeoch CC, McGeoch LA (1984) Some unexpected expected behavior results for bin packing. In: Proceedings of the 16th annual ACM symposium on theory of computing. ACM, New York, pp 279–288

    Google Scholar 

  3. Coffman EG Jr, Courcoubetis C, Garey MR, Johnson DS, McGeoch LA, Shor PW, Weber RR, Yannakakis M (1991) Fundamental discrepancies between average-case analyses under discrete and continuous distributions. In: Proceedings of the 23rd annual ACM symposium on theory of computing, New York, 1991. ACM Press, New York,pp 230–240

    Google Scholar 

  4. Coffman EG Jr, Garey MR, Johnson DS (1997) Approximation algorithms for bin-packing: a survey. In: Hochbaum D (ed) Approximation algorithms for NP-hard problems. PWS Publishing, Boston, pp 46–93

    Google Scholar 

  5. Coffman EG Jr, Johnson DS, Shor PW, Weber RR (1997) Bin packing with discrete item sizes, part II: tight bounds on first fit. Random Struct Algorithms 10:69–101

    Article  MathSciNet  MATH  Google Scholar 

  6. Coffman EG Jr, So K, Hofri M, Yao AC (1980) A stochastic model of bin-packing. Inf Control 44:105–115

    Article  MathSciNet  MATH  Google Scholar 

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

    Article  MathSciNet  MATH  Google Scholar 

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

    Article  MathSciNet  MATH  Google Scholar 

  9. Csirik J, Johnson DS, Kenyon C, Orlin JB, Shor PW, Weber RR (2006) On the sum-of-squares algorithm for bin packing. J ACM 53:1–65

    Article  MathSciNet  MATH  Google Scholar 

  10. Csirik J, Johnson DS, Kenyon C, Shor PW, Weber RR (1999) A self organizing bin packing heuristic. In: Proceedings of the 1999 workshop on algorithm engineering and experimentation. LNCS, vol 1619. Springer, Berlin, pp 246—265

    Google Scholar 

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

    Article  MathSciNet  MATH  Google Scholar 

  12. Johnson DS (1973) Near-optimal bin packing algorithms. PhD thesis, Massachusetts Institute of Technology, Department of Mathematics, Cambridge

    Google Scholar 

  13. Johnson DS, Demers A, Ullman JD, Garey MR, Graham RL (1974) Worst-case performance bounds for simple one-dimensional packing algorithms. SIAM J Comput 3:299–325

    Article  MathSciNet  MATH  Google Scholar 

  14. Johnson DS, Leighton FT, Shor PW, Weber RR.: The expected behavior of FFD, BFD, and optimal bin packing under U(0, α]) distributions (in preparation)

    Google Scholar 

  15. Karmarkar N, Karp RM (1982) An efficient approximation scheme for the one-dimensional bin packing problem. In: Proceedings of the 23rd annual symposium on foundations of computer science. IEEE Computer Society, Los Alamitos, pp 312–320

    Google Scholar 

  16. Knödel W (1981) A bin packing algorithm with complexity O(n log n) in the stochastic limit. In: Proceedings of the 10th symposium on mathematical foundations of computer science. LNCS, vol 118. Springer, Berlin, pp 369–378

    Google Scholar 

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

    Article  MathSciNet  MATH  Google Scholar 

  18. Lee CC, Lee DT (1987) Robust on-line bin packing algorithms. Technical report, Department of Electrical Engineering and Computer Science, Northwestern University, Evanston

    Google Scholar 

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

    Article  MathSciNet  MATH  Google Scholar 

  20. Lueker GS (1982) An average-case analysis of bin packing with uniformly distributed item sizes. Technical report, Report No 181, Department of Information and Computer Science, University of California, Irvine

    Google Scholar 

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

    Article  MathSciNet  MATH  Google Scholar 

  22. Ullman JD (1971) The performance of a memory allocation algorithm. Tech. Rep. 100, Princeton University, Princeton

    Google Scholar 

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

    Article  MathSciNet  MATH  Google Scholar 

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

    Article  MathSciNet  MATH  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2016 Springer Science+Business Media New York

About this entry

Cite this entry

Johnson, D.S. (2016). Bin Packing. In: Kao, MY. (eds) Encyclopedia of Algorithms. Springer, New York, NY. https://doi.org/10.1007/978-1-4939-2864-4_49

Download citation

Publish with us

Policies and ethics