Skip to main content

Several Methods of Analysis for Cardinality Constrained Bin Packing

  • Conference paper
  • First Online:
Approximation and Online Algorithms (WAOA 2021)

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

Included in the following conference series:

Abstract

We consider a known variant of bin packing called cardinality constrained bin packing, also called bin packing with cardinality constraints (BPCC). In this problem, there is a parameter \(k\ge 2\), and items of rational sizes in [0, 1] are to be packed into bins, such that no bin has more than k items or total size larger than 1. The goal is to minimize the number of bins.

A recently introduced concept, called the price of clustering, deals with inputs that are presented in a way that they are split into clusters. Thus, an item has two attributes which are its size and its cluster. The goal is to measure the relation between an optimal solution that cannot combine items of different clusters into bins, and an optimal solution that can combine items of different clusters arbitrarily. Usually the number of clusters may be large, while clusters are relatively small, though not trivially small. Such problems are related to greedy bin packing algorithms, and to batched bin packing, which is similar to the price of clustering, but there is a constant number of large clusters. We analyze the price of clustering for BPCC, including the parametric case with bounded item sizes. We discuss several greedy algorithms for this problem that were not studied in the past, and comment on batched bin packing.

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 49.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 64.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. Azar, Y., Cohen, I.R., Fiat, A., Roytman, A.: Packing small vectors. In: Proceedings of the 27th Annual ACM-SIAM Symposium on Discrete Algorithms, (SODA2016), pp. 1511–1525 (2016)

    Google Scholar 

  2. Azar, Y., Emek, Y., van Stee, R., Vainstein, D.: The price of clustering in bin-packing with applications to bin-packing with delays. In: The 31st ACM on Symposium on Parallelism in Algorithms and Architectures (SPAA2019), pp. 1–10 (2019)

    Google Scholar 

  3. Babel, L., Chen, B., Kellerer, H., Kotov, V.: Algorithms for on-line bin-packing problems with cardinality constraints. Discrete Appl. Math. 143(1–3), 238–251 (2004)

    Article  MathSciNet  Google Scholar 

  4. Baker, B.S., Coffman, E.G., Jr.: A tight asymptotic bound for next-fit-decreasing bin-packing. SIAM J. Algebraic Discrete Methods 2(2), 147–152 (1981)

    Article  MathSciNet  Google Scholar 

  5. Balogh, J., Békési, J., Dósa, G., Epstein, L., Levin, A.: A new and improved algorithm for online bin packing. In: Proceedings of the 26th European Symposium on Algorithms (ESA2018), pp. 5:1–5:14 (2018)

    Google Scholar 

  6. Balogh, J., Békési, J., Dósa, G., Epstein, L., Levin, A.: Online bin packing with cardinality constraints resolved. J. Comput. Syst. Sci. 112, 34–49 (2020)

    Article  MathSciNet  Google Scholar 

  7. Balogh, J., Békési, J., Dósa, G., Epstein, L., Levin, A.: A new lower bound for classic online bin packing. Algorithmica 83(7), 2047–2062 (2021)

    Article  MathSciNet  Google Scholar 

  8. Balogh, J., Békési, J., Dósa, G., Galambos, G., Tan, Z.: Lower bound for 3-batched bin packing. Discrete Optim. 21, 14–24 (2016)

    Article  MathSciNet  Google Scholar 

  9. Balogh, J., Békési, J., Dósa, G., Sgall, J., van Stee, R.: The optimal absolute ratio for online bin packing. J. Comput. Syst. Sci. 102, 1–17 (2019)

    Article  MathSciNet  Google Scholar 

  10. Balogh, J., Békési, J., Galambos, G.: New lower bounds for certain classes of bin packing algorithms. Theoret. Comput. Sci. 440, 1–13 (2012)

    Article  MathSciNet  Google Scholar 

  11. Békési, J., Dósa, G., Epstein, L.: Bounds for online bin packing with cardinality constraints. Inf. Comput. 249, 190–204 (2016)

    Article  MathSciNet  Google Scholar 

  12. Caprara, A., Kellerer, H., Pferschy, U.: Approximation schemes for ordered vector packing problems. Naval Res. Logistics 92, 58–69 (2003)

    Article  MathSciNet  Google Scholar 

  13. Dósa, G.: The tight absolute bound of First Fit in the parameterized case. Theor. Comput. Sci. 596, 149–154 (2015)

    Article  MathSciNet  Google Scholar 

  14. Dosa, G.: Batched bin packing revisited. J. Scheduling 20(2), 199–209 (2015). https://doi.org/10.1007/s10951-015-0431-3

    Article  MathSciNet  MATH  Google Scholar 

  15. Dósa, G., Epstein, L.: The tight asymptotic approximation ratio of First Fit for bin packing with cardinality constraints. J. Comput. Syst. Sci. 96, 33–49 (2018)

    Article  MathSciNet  Google Scholar 

  16. Dósa, G., Sgall, J.: First Fit bin packing: a tight analysis. In: Proceedings of the 30th International Symposium on Theoretical Aspects of Computer Science (STACS2013), pp. 538–549 (2013)

    Google Scholar 

  17. Dósa, G., Li, R., Han, X., Tuza, Z.: Tight absolute bound for first fit decreasing bin-packing: \({FFD(L)} \le 11/9 OPT(L) + 6/9\). Theoret. Comput. Sci. 510, 13–61 (2013)

    Article  MathSciNet  Google Scholar 

  18. Epstein, L.: Online bin packing with cardinality constraints. SIAM J. Discrete Math. 20(4), 1015–1030 (2006)

    Article  MathSciNet  Google Scholar 

  19. Epstein, L.: More on batched bin packing. Oper. Res. Lett. 44(2), 273–277 (2016)

    Article  MathSciNet  Google Scholar 

  20. Epstein, L.: On bin packing with clustering and bin packing with delays. Discrete Optim. 41, 100647 (2021)

    Google Scholar 

  21. Epstein, L.: Open-end bin packing: new and old analysis approaches. CoRR, abs/2105.05923 (2021)

    Google Scholar 

  22. Epstein, L.: Several methods of analysis for cardinality constrained bin packing. CoRR, abs/2107.08725 (2021)

    Google Scholar 

  23. Epstein, L., Levin, A.: AFPTAS results for common variants of bin packing: a new method for handling the small items. SIAM J. Optim. 20(6), 3121–3145 (2010)

    Article  MathSciNet  Google Scholar 

  24. Fernandez de la Vega, W., Lueker, G.S.: Bin packing can be solved within \(1+\varepsilon \) in linear time. Combinatorica 1(4), 349–355 (1981)

    Article  MathSciNet  Google Scholar 

  25. Fujiwara, H., Kobayashi, K.: Improved lower bounds for the online bin packing problem with cardinality constraints. J. Comb. Optim. 29(1), 67–87 (2013). https://doi.org/10.1007/s10878-013-9679-8

    Article  MathSciNet  MATH  Google Scholar 

  26. Gutin, G., Jensen, T., Yeo, A.: Batched bin packing. Discrete Optim. 2(1), 71–82 (2005)

    Article  MathSciNet  Google Scholar 

  27. Johnson, D.S.: Fast algorithms for bin packing. J. Comput. Syst. Sci. 8, 272–314 (1974)

    Article  MathSciNet  Google Scholar 

  28. 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, 256–278 (1974)

    Article  MathSciNet  Google Scholar 

  29. 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 (FOCS1982), pp. 312–320 (1982)

    Google Scholar 

  30. Kellerer, H., Pferschy, U.: Cardinality constrained bin-packing problems. Ann. Oper. Res. 92, 335–348 (1999)

    Article  MathSciNet  Google Scholar 

  31. Krause, K.L., Shen, V.Y., Schwetman, H.D.: Analysis of several task-scheduling algorithms for a model of multiprogramming computer systems. J. ACM 22(4), 522–550 (1975)

    Article  MathSciNet  Google Scholar 

  32. Lee, C.C., Lee, D.T.: A simple online bin packing algorithm. J. ACM 32(3), 562–572 (1985)

    Article  Google Scholar 

  33. Ramanan, P., Brown, D.J., Lee, C.C., Lee, D.T.: Online bin packing in linear time. J. Algorithms 10, 305–326 (1989)

    Article  MathSciNet  Google Scholar 

  34. van Vliet, A.: An improved lower bound for online bin packing algorithms. Inf. Process. Lett. 43(5), 277–284 (1992)

    Article  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Leah Epstein .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2021 Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Epstein, L. (2021). Several Methods of Analysis for Cardinality Constrained Bin Packing. In: Koenemann, J., Peis, B. (eds) Approximation and Online Algorithms. WAOA 2021. Lecture Notes in Computer Science(), vol 12982. Springer, Cham. https://doi.org/10.1007/978-3-030-92702-8_8

Download citation

  • DOI: https://doi.org/10.1007/978-3-030-92702-8_8

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-030-92701-1

  • Online ISBN: 978-3-030-92702-8

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics