## 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 ]$$(0,α] for some $$\alpha \le 1$$α≤1, yielding tight bounds for the Strong Price of Anarchy for all $$\alpha \le 1$$α≤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$$α≤1.

Original language | English |
---|---|

Pages (from-to) | 177-207 |

Number of pages | 31 |

Journal | Algorithmica |

Volume | 74 |

Issue number | 1 |

DOIs | |

State | Published - 1 Jan 2016 |

### Bibliographical note

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

Publisher Copyright:

© 2014, Springer Science+Business Media New York.

## Keywords

- Algorithm theory
- Approximation algorithms
- Bin packing
- Game theory
- Price of anarchy

## ASJC Scopus subject areas

- Computer Science (all)
- Computer Science Applications
- Applied Mathematics