English

A Faster Exponential Time Algorithm for Bin Packing With a Constant Number of Bins via Additive Combinatorics

Data Structures and Algorithms 2023-09-11 v4

Abstract

In the Bin Packing problem one is given nn items with weights w1,,wnw_1,\ldots,w_n and mm bins with capacities c1,,cmc_1,\ldots,c_m. The goal is to find a partition of the items into sets S1,,SmS_1,\ldots,S_m such that w(Sj)cjw(S_j) \leq c_j for every bin jj, where w(X)w(X) denotes iXwi\sum_{i \in X}w_i. Bj\"orklund, Husfeldt and Koivisto (SICOMP 2009) presented an O(2n)\mathcal{O}^\star(2^n) time algorithm for Bin Packing. In this paper, we show that for every mNm \in \mathbf{N} there exists a constant σm>0\sigma_m >0 such that an instance of Bin Packing with mm bins can be solved in O(2(1σm)n)\mathcal{O}(2^{(1-\sigma_m)n}) randomized time. Before our work, such improved algorithms were not known even for mm equals 44. A key step in our approach is the following new result in Littlewood-Offord theory on the additive combinatorics of subset sums: For every δ>0\delta >0 there exists an ε>0\varepsilon >0 such that if {X{1,,n}:w(X)=v}2(1ε)n|\{ X\subseteq \{1,\ldots,n \} : w(X)=v \}| \geq 2^{(1-\varepsilon)n} for some vv then {w(X):X{1,,n}}2δn|\{ w(X): X \subseteq \{1,\ldots,n\} \}|\leq 2^{\delta n}.

Keywords

Cite

@article{arxiv.2007.08204,
  title  = {A Faster Exponential Time Algorithm for Bin Packing With a Constant Number of Bins via Additive Combinatorics},
  author = {Jesper Nederlof and Jakub Pawlewicz and Céline M. F. Swennenhuis and Karol Węgrzycki},
  journal= {arXiv preprint arXiv:2007.08204},
  year   = {2023}
}

Comments

SODA 2021; 45 pages; 4 figures