Skip to main content

Black and White Bin Packing Revisited

  • Conference paper
  • First Online:
Combinatorial Optimization and Applications

Part of the book series: Lecture Notes in Computer Science ((LNTCS,volume 9486))

Abstract

The black and white bin packing problem is a variant of the classical bin packing problem, where in addition to a size, each item also has a color (black or white), and in each bin the colors of items must alternate. The problem has been studied extensively, but the best competitive online algorithm has competitiveness of 3. The competitiveness of 3 can be forced even when the sizes of items are ‘halved’, i.e. the sizes are restricted to be in (0, 1 / 2]. We give the first ‘better than 3’ competitive algorithm for the problem for the case that item sizes are in the range (0, 1 / 2]; our algorithm has competitiveness \(\frac{8}{3}\).

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 39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight 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

References

  1. Bálogh, J., Békési, J., Dósa, G., Epstein, L., Kellerer, H., Tuza, Z.: Online results for black and white bin packing. Theory Comput. Syst. 56, 137–155 (2015)

    Article  MathSciNet  MATH  Google Scholar 

  2. Balogh, J., Békési, J., Dosa, G., Kellerer, H., Tuza, Z.: Black and white bin packing. In: Erlebach, T., Persiano, G. (eds.) WAOA 2012. LNCS, vol. 7846, pp. 131–144. Springer, Heidelberg (2013)

    Chapter  Google Scholar 

  3. Bálogh, J., Békési, J., Galambos, G.: New lower bounds for certain classes of bin packing algorithms. Theor. Comput. Sci. 440–441, 1–13 (2012)

    Article  MathSciNet  MATH  Google Scholar 

  4. Boyar, J., Dósa, G., Epstein, L.: On the absolute approximation ratio for First Fit and related Results. Discrete Appl. Math. 160(13–14), 1914–1923 (2012)

    Article  MathSciNet  MATH  Google Scholar 

  5. Coffman, E.G., Garey, M.R., Johnson, D.S.: Approximation algorithms for bin packing: a survey. In: Hochbaum, D. (ed.) Approximation Algorithms. PWS Publishing Company (1997)

    Google Scholar 

  6. Dósa, G., Sgall, J.: First fit bin packing: a tight analysis. In: Proceedings of STACS 2013, LIPICS, vol. 20, pp. 538–549 (2013)

    Google Scholar 

  7. Dósa, G., Epstein, L.: Colorful bin packing. In: Ravi, R., Gørtz, I.L. (eds.) SWAT 2014. LNCS, vol. 8503, pp. 170–181. Springer, Heidelberg (2014)

    Chapter  Google Scholar 

  8. Böhm, M., Sgall, J., Veselý, P.: Online colored bin packing. In: Bampis, E., Svensson, O. (eds.) WAOA 2014. LNCS, vol. 8952, pp. 35–46. Springer, Heidelberg (2015)

    Google Scholar 

  9. Garey, M.R., Johnson, D.S.: “Strong” NP-completeness results: motivation, examples, and implications. J. ACM 25(3), 499–508 (1978)

    Article  MathSciNet  MATH  Google Scholar 

  10. Karmarkar, N., Karp, R.M.: An efficient approximation scheme for the one-dimensional bin-packing problem. In: Proceedings of the 23rd Annual Symposium on Foundations of Computer Science (FOCS 1982), pp. 312–320 (1982)

    Google Scholar 

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

    Article  MathSciNet  MATH  Google Scholar 

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

    Article  MathSciNet  MATH  Google Scholar 

  13. Ullman, J.D.: The performance of a memory allocation algorithm. Technical report 100, Princeton University, Princeton 695 (1971)

    Google Scholar 

  14. Veselý, P.: Competitiveness of fit algorithms for black and white bin packing. In: Middle-European Conference on Applied Theoretical Computer Science (2013)

    Google Scholar 

  15. Xia, B.Z., Tan, Z.Y.: Tighter bound of the First Fit algorithm for the bin-packing problem. Discrete Appl. Math. 158(15), 1668–1675 (2010)

    Article  MathSciNet  MATH  Google Scholar 

Download references

Acknowledgment

Author Wolfgang Bein conducted this research while on sabbatical at Kyoto University, Japan. A sabbatical from the University of Nevada, Las Vegas and support from National Science Foundation grant IIA 1427584 is acknowledged.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Wolfgang Bein .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2015 Springer International Publishing Switzerland

About this paper

Cite this paper

Chen, J., Han, X., Bein, W., Ting, HF. (2015). Black and White Bin Packing Revisited. In: Lu, Z., Kim, D., Wu, W., Li, W., Du, DZ. (eds) Combinatorial Optimization and Applications. Lecture Notes in Computer Science(), vol 9486. Springer, Cham. https://doi.org/10.1007/978-3-319-26626-8_4

Download citation

  • DOI: https://doi.org/10.1007/978-3-319-26626-8_4

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-319-26625-1

  • Online ISBN: 978-3-319-26626-8

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics