Skip to main content
Log in

Parametric Packing of Selfish Items and the Subset Sum Algorithm

  • Published:
Algorithmica Aims and scope Submit manuscript

Abstract

The subset sum algorithm is a natural heuristic for the classical Bin Packing problem: In each iteration, the algorithm finds among the unpacked items, a maximum size set of items that fits into a new bin. More than 35 years after its first mention in the literature, establishing the worst-case performance of this heuristic remains, surprisingly, an open problem. Due to their simplicity and intuitive appeal, greedy algorithms are the heuristics of choice of many practitioners. Therefore, better understanding simple greedy heuristics is, in general, an interesting topic in its own right. Very recently, Epstein and Kleiman (Proc. ESA 2008, pp. 368–380) provided another incentive to study the subset sum algorithm by showing that the Strong Price of Anarchy of the game theoretic version of the Bin Packing problem is precisely the approximation ratio of this heuristic. In this paper we establish the exact approximation ratio of the subset sum algorithm, thus settling a long standing open problem. We generalize this result to the parametric variant of the Bin Packing problem where item sizes lie on the interval \((0, \alpha ]\) for some \(\alpha \le 1\), yielding tight bounds for the Strong Price of Anarchy for all \(\alpha \le 1\). Finally, we study the pure Price of Anarchy of the parametric Bin Packing game for which we show nearly tight upper and lower bounds for all \(\alpha \le 1\).

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

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Institutional subscriptions

Fig. 1

Similar content being viewed by others

References

  1. Andelman, N., Feldman, M., Mansour, Y.: Strong price of anarchy. Games Econ. Behav. 65(2), 289–317 (2009)

    Article  MATH  MathSciNet  Google Scholar 

  2. Bilò, V.: On the packing of selfish items. In Proc. of the 20th International Parallel and Distributed Processing Symposium (IPDPS2006). IEEE, (2006). 9 pages

  3. Caprara, A., Pferschy, U.: Worst-case analysis of the subset sum algorithm for bin packing. Oper. Res. Lett. 32(2), 159–166 (2004)

    Article  MATH  MathSciNet  Google Scholar 

  4. Caprara, A., Pferschy, U.: Modified subset sum heuristics for bin packing. Inf. Process. Lett. 96(1), 18–23 (2005)

    Article  MATH  MathSciNet  Google Scholar 

  5. Coffman Jr, E., Csirik, J.: Performance guarantees for one-dimensional bin packing. In: Gonzalez, T.F. (ed.) Handbook of approximation algorithms and metaheuristics, chapter 32. Chapman & Hall/Crc, London (2007)

    Google Scholar 

  6. Csirik, J., Leung, J.Y.-T.: Variants of classical one-dimensional bin packing. In: Gonzalez, T.F. (ed.) Handbook of Approximation Algorithms and Metaheuristics, chapter 33. Chapman & Hall/Crc, London (2007)

    Google Scholar 

  7. Czumaj, A., Vöcking, B.: Tight bounds for worst-case equilibria. ACM Trans. Algorithms 3(1), 4:1–4:17 (2007)

  8. Epstein, L., Kleiman, E.: Selfish bin packing. Algorithmica 60(2), 368–394 (2011)

    Article  MATH  MathSciNet  Google Scholar 

  9. Fiat, A., Kaplan, H., Levy, M., Olonetsky, S.: Strong price of anarchy for machine load balancing. In Proceedings of the 34th international colloquium on automata, languages and programming (ICALP2007), pages 583–594, (2007)

  10. Gupta, J.N.D., Ho, J.C.: A new heuristic algorithm for the one-dimensional bin-packing problem. Prod. Plan. Control 10, 598–603 (1999)

    Article  Google Scholar 

  11. Graham, RL.: Bounds on multiprocessing anomalies and related packing algorithms. In Proc. of the 1972 Spring Joint Computer Conference, pages 205–217, (1972)

  12. Immorlica, N., Mahdian, M., Mirrokni, VS.: Cycle cover with short cycles. In Proc. of the 22th Annual Symposium on Theoretical Aspects of Computer Science (STACS2005), pages 641–653, (2005)

  13. Jain, K., Mahdian, M., Markakis, E., Saberi, A., Vazirani, V.V.: Greedy facility location algorithms analyzed using dual fitting with factor-revealing LP. J. ACM 50(6), 795–824 (2003)

    Article  MathSciNet  Google Scholar 

  14. Johnson, D.S., Demers, A.J., Ullman, J.D., Garey, M.R., Graham, R.L.: Worst-case performance bounds for simple one-dimensional packing algorithms. SIAM J. Comput. 3(4), 299–325 (1974)

    Article  MathSciNet  Google Scholar 

  15. Karp, RM.: Reducibility among combinatorial problems. In complexity of computer computations, page 85-103, (1972)

  16. Kellerer, H., Pferschy, U., Pisinger, D.: Knapsack problems. Springer, Berlin (2004)

    Book  MATH  Google Scholar 

  17. Koutsoupias, E., Papadimitriou, CH.: Worst-case equilibria. In Proc. of the 16th Annual Symposium on Theoretical Aspects of Computer Science (STACS1999), pages 404–413, (1999)

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

    Article  MATH  Google Scholar 

  19. Mavronicolas, M., Spirakis, P.G.: The price of selfish routing. Algorithmica 48(1), 91–126 (2007)

    Article  MATH  MathSciNet  Google Scholar 

  20. Roughgarden, T.: Selfish routing and the price of anarchy. MIT Press, Cambridge (2005)

    Google Scholar 

  21. Roughgarden, T., Tardos, É.: How bad is selfish routing? J. ACM 49(2), 236–259 (2002)

    Article  MathSciNet  Google Scholar 

  22. Ullman, JD.: The performance of a memory allocation algorithm. Technical Report 100, Princeton University, Princeton, NJ, (1971)

  23. Yu, G., Zhang, G.: Bin packing of selfish items. In The 4th international workshop on internet and network economics (WINE2008), pages 446–453, (2008)

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Julián Mestre.

Additional information

A preliminary version of this paper appears in the Proceedings of the 5th Workshop of Internet and Network Economics (WINE2009).

J. Mestre: Research partly supported by an Alexander von Humboldt Fellowship.

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Epstein, L., Kleiman, E. & Mestre, J. Parametric Packing of Selfish Items and the Subset Sum Algorithm. Algorithmica 74, 177–207 (2016). https://doi.org/10.1007/s00453-014-9942-0

Download citation

  • Received:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s00453-014-9942-0

Keywords

Navigation