English

Approximating Subset Sum Ratio faster than Subset Sum

Data Structures and Algorithms 2023-10-12 v1

Abstract

Subset Sum Ratio is the following optimization problem: Given a set of nn positive numbers II, find disjoint subsets X,YIX,Y \subseteq I minimizing the ratio max{Σ(X)/Σ(Y),Σ(Y)/Σ(X)}\max\{\Sigma(X)/\Sigma(Y),\Sigma(Y)/\Sigma(X)\}, where Σ(Z)\Sigma(Z) denotes the sum of all elements of ZZ. Subset Sum Ratio is an optimization variant of the Equal Subset Sum problem. It was introduced by Woeginger and Yu in '92 and is known to admit an FPTAS [Bazgan, Santha, Tuza '98]. The best approximation schemes before this work had running time O(n4/ε)O(n^4/\varepsilon) [Melissinos, Pagourtzis '18], O~(n2.3/ε2.6)\tilde O(n^{2.3}/\varepsilon^{2.6}) and O~(n2/ε3)\tilde O(n^2/\varepsilon^3) [Alonistiotis et al. '22]. In this work, we present an improved approximation scheme for Subset Sum Ratio running in time O(n/ε0.9386)O(n / \varepsilon^{0.9386}). Here we assume that the items are given in sorted order, otherwise we need an additional running time of O(nlogn)O(n \log n) for sorting. Our improved running time simultaneously improves the dependence on nn to linear and the dependence on 1/ε1/\varepsilon to sublinear. For comparison, the related Subset Sum problem admits an approximation scheme running in time O(n/ε)O(n/\varepsilon) [Gens, Levner '79]. If one would achieve an approximation scheme with running time O~(n/ε0.99)\tilde O(n / \varepsilon^{0.99}) for Subset Sum, then one would falsify the Strong Exponential Time Hypothesis [Abboud, Bringmann, Hermelin, Shabtay '19] as well as the Min-Plus-Convolution Hypothesis [Bringmann, Nakos '21]. We thus establish that Subset Sum Ratio admits faster approximation schemes than Subset Sum. This comes as a surprise, since at any point in time before this work the best known approximation scheme for Subset Sum Ratio had a worse running time than the best known approximation scheme for Subset Sum.

Keywords

Cite

@article{arxiv.2310.07595,
  title  = {Approximating Subset Sum Ratio faster than Subset Sum},
  author = {Karl Bringmann},
  journal= {arXiv preprint arXiv:2310.07595},
  year   = {2023}
}

Comments

Accepted at SODA'24, 22 pages

R2 v1 2026-06-28T12:47:31.742Z