English

Approximating Knapsack and Partition via Dense Subset Sums

Data Structures and Algorithms 2023-01-24 v1

Abstract

Knapsack and Partition are two important additive problems whose fine-grained complexities in the (1ε)(1-\varepsilon)-approximation setting are not yet settled. In this work, we make progress on both problems by giving improved algorithms. - Knapsack can be (1ε)(1 - \varepsilon)-approximated in O~(n+(1/ε)2.2)\tilde O(n + (1/\varepsilon) ^ {2.2} ) time, improving the previous O~(n+(1/ε)2.25)\tilde O(n + (1/\varepsilon) ^ {2.25} ) by Jin (ICALP'19). There is a known conditional lower bound of (n+ε)2o(1)(n+\varepsilon)^{2-o(1)} based on (min,+)(\min,+)-convolution hypothesis. - Partition can be (1ε)(1 - \varepsilon)-approximated in O~(n+(1/ε)1.25)\tilde O(n + (1/\varepsilon) ^ {1.25} ) time, improving the previous O~(n+(1/ε)1.5)\tilde O(n + (1/\varepsilon) ^ {1.5} ) by Bringmann and Nakos (SODA'21). There is a known conditional lower bound of (1/ε)1o(1)(1/\varepsilon)^{1-o(1)} based on Strong Exponential Time Hypothesis. Both of our new algorithms apply the additive combinatorial results on dense subset sums by Galil and Margalit (SICOMP'91), Bringmann and Wellnitz (SODA'21). Such techniques have not been explored in the context of Knapsack prior to our work. In addition, we design several new methods to speed up the divide-and-conquer steps which naturally arise in solving additive problems.

Keywords

Cite

@article{arxiv.2301.09333,
  title  = {Approximating Knapsack and Partition via Dense Subset Sums},
  author = {Mingyang Deng and Ce Jin and Xiao Mao},
  journal= {arXiv preprint arXiv:2301.09333},
  year   = {2023}
}

Comments

To appear in SODA 2023. Corrects minor mistakes in Lemma 3.3 and Lemma 3.5 in the proceedings version of this paper

R2 v1 2026-06-28T08:17:38.357Z