Approximating Knapsack and Partition via Dense Subset Sums
Mingyang Deng, Ce Jin, Xiao Mao
Abstract
Knapsack and Partition are two important additive problems whose fine-grained complexities in the (1ε)-approximation setting are not yet settled. In this work, we make progress on both problems by giving improved algorithms.
• Knapsack can be (1ε)-approximated in Õ(n + (1/ε) 2.2 ) time, improving the previous Õ(n + (1/ε) 2.25 ) by Jin (ICALP'19). There is a known conditional lower bound of (n + 1/ε) 2-o(1) based on (min, +)-convolution hypothesis.
• Partition can be (1ε)-approximated in Õ(n + (1/ε) 1.25 ) time, improving the previous Õ(n + (1/ε) 1.5 ) by Bringmann and Nakos (SODA'21). There is a known conditional lower bound of (1/ε) 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.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
10 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Knapsack with Small Items in Near-Quadratic Time cites On Near-Linear-Time Algorithms for Dense Subset Sum
- Knapsack with Small Items in Near-Quadratic Time cites 0-1 Knapsack in Nearly Quadratic Time
- 0-1 Knapsack in Nearly Quadratic Time cites Knapsack with Small Items in Near-Quadratic Time
- Knapsack with Small Items in Near-Quadratic Time cites A Fine-Grained Perspective on Approximating Subset Sum and Partition
- Knapsack with Small Items in Near-Quadratic Time cites Faster Algorithms for Bounded Knapsack and Bounded Subset Sum Via Fine-Grained Proximity Results
- Faster Algorithms for Bounded Knapsack and Bounded Subset Sum Via Fine-Grained Proximity Results cites Knapsack with Small Items in Near-Quadratic Time
- 0-1 Knapsack in Nearly Quadratic Time cites On Near-Linear-Time Algorithms for Dense Subset Sum
- 0-1 Knapsack in Nearly Quadratic Time cites A Nearly Quadratic-Time FPTAS for Knapsack
- A Nearly Quadratic-Time FPTAS for Knapsack cites 0-1 Knapsack in Nearly Quadratic Time
- 0-1 Knapsack in Nearly Quadratic Time cites A Fine-Grained Perspective on Approximating Subset Sum and Partition
- 0-1 Knapsack in Nearly Quadratic Time cites Faster Algorithms for Bounded Knapsack and Bounded Subset Sum Via Fine-Grained Proximity Results
- Faster Algorithms for Bounded Knapsack and Bounded Subset Sum Via Fine-Grained Proximity Results cites 0-1 Knapsack in Nearly Quadratic Time
- A Nearly Quadratic-Time FPTAS for Knapsack cites On Near-Linear-Time Algorithms for Dense Subset Sum
- A Nearly Quadratic-Time FPTAS for Knapsack cites Knapsack with Small Items in Near-Quadratic Time
- A Nearly Quadratic-Time FPTAS for Knapsack cites A Fine-Grained Perspective on Approximating Subset Sum and Partition
- A Nearly Quadratic-Time FPTAS for Knapsack cites Faster Algorithms for Bounded Knapsack and Bounded Subset Sum Via Fine-Grained Proximity Results
- An Improved Pseudopolynomial Time Algorithm for Subset Sum cites On Near-Linear-Time Algorithms for Dense Subset Sum
- An Improved Pseudopolynomial Time Algorithm for Subset Sum cites Knapsack with Small Items in Near-Quadratic Time
- An Improved Pseudopolynomial Time Algorithm for Subset Sum cites 0-1 Knapsack in Nearly Quadratic Time
- An Improved Pseudopolynomial Time Algorithm for Subset Sum cites A Fine-Grained Perspective on Approximating Subset Sum and Partition
- An Improved Pseudopolynomial Time Algorithm for Subset Sum cites Faster Algorithms for Bounded Knapsack and Bounded Subset Sum Via Fine-Grained Proximity Results
- Faster Algorithms for Bounded Knapsack and Bounded Subset Sum Via Fine-Grained Proximity Results cites On Near-Linear-Time Algorithms for Dense Subset Sum
- Faster Algorithms for Bounded Knapsack and Bounded Subset Sum Via Fine-Grained Proximity Results cites A Fine-Grained Perspective on Approximating Subset Sum and Partition
Cited by top-tier papers10
- Faster Algorithms for Bounded Knapsack and Bounded Subset Sum Via Fine-Grained Proximity ResultsLin Chen, Jiayi Lian, Yuchen Mao, Guochuan ZhangSODA 2024 · 10 citations
- Knapsack with Small Items in Near-Quadratic TimeKarl BringmannSTOC 2024 · 8 citations
- 0-1 Knapsack in Nearly Quadratic TimeCe JinSTOC 2024 · 6 citations
- An Improved Pseudopolynomial Time Algorithm for Subset SumLin Chen, Jiayi Lian, Yuchen Mao, Guochuan ZhangFOCS 2024 · 5 citations
- A Nearly Quadratic-Time FPTAS for KnapsackLin Chen, Jiayi Lian, Yuchen Mao, Guochuan ZhangSTOC 2024 · 4 citations
Builds on2
Related papers
- (1 - ε)-Approximation of Knapsack in Nearly Quadratic TimeXiao MaoSTOC 2024
- Approximating Partition in Near-Linear TimeLin Chen, Jiayi Lian, Yuchen Mao, Guochuan ZhangSTOC 2024 · 3 citations
- A Faster Exponential Time Algorithm for Bin Packing With a Constant Number of Bins via Additive CombinatoricsJesper Nederlof, Jakub Pawlewicz, Céline M. F. Swennenhuis, Karol WegrzyckiSODA 2021 · 3 citations
- Long Arithmetic Progressions in Sumsets and Subset Sums: Constructive Proofs and Efficient WitnessesLin Chen, Yuchen Mao, Guochuan ZhangSTOC 2025 · 1 citation
- Approximately Counting Knapsack Solutions in Subquadratic TimeWeiming Feng, Ce JinSODA 2025
