(1 - ε)-Approximation of Knapsack in Nearly Quadratic Time
Abstract
Knapsack is one of the most fundamental problems in theoretical computer science. In the (1 − є)-approximation setting, although there is a fine-grained lower bound of (n + 1 / є) 2 − o(1) based on the (min, +)-convolution hypothesis ([K'unnemann, Paturi and Stefan Schneider, ICALP 2017] and [Cygan, Mucha, Wegrzycki and Wlodarczyk, 2017]), the best algorithm is randomized and runs in Õ(n + (1/є)11/5/2Ω(√log(1/є))) time [Deng, Jin and Mao, SODA 2023], and it remains an important open problem whether an algorithm with a running time that matches the lower bound (up to a sub-polynomial factor) exists. We answer the question positively by showing a deterministic (1 − є)-approximation scheme for knapsack that runs in Õ(n + (1 / є) 2) time. We first extend a known lemma in a recursive way to reduce the problem to n є-additive approximation for n items with profits in [1, 2). Then we give a simple efficient geometry-based algorithm for the reduced problem.
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.
5 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
- Approximating Knapsack and Partition via Dense Subset Sums cites On Near-Linear-Time Algorithms for Dense Subset Sum
- Approximating Knapsack and Partition via Dense Subset Sums cites A Fine-Grained Perspective on Approximating Subset Sum and Partition
- 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 Approximating Knapsack and Partition via Dense Subset Sums
- 0-1 Knapsack in Nearly Quadratic Time cites A Fine-Grained Perspective on Approximating Subset Sum and Partition
- Approximately Counting Knapsack Solutions in Subquadratic Time cites Approximating Knapsack and Partition via Dense Subset Sums
- Approximately Counting Knapsack Solutions in Subquadratic Time cites A Fine-Grained Perspective on Approximating Subset Sum and Partition
- Approximately Counting Knapsack Solutions in Subquadratic Time cites Approximating Partition in Near-Linear Time
- Faster Algorithms for Text-to-Pattern Hamming Distances cites Approximating Knapsack and Partition via Dense Subset Sums
- Faster Algorithms for Text-to-Pattern Hamming Distances cites A Fine-Grained Perspective on Approximating Subset Sum and Partition
- Approximating Partition in Near-Linear Time cites On Near-Linear-Time Algorithms for Dense Subset Sum
- Approximating Partition in Near-Linear Time cites Approximating Knapsack and Partition via Dense Subset Sums
- Approximating Partition in Near-Linear Time cites 0-1 Knapsack in Nearly Quadratic Time
- Approximating Partition in Near-Linear Time cites A Fine-Grained Perspective on Approximating Subset Sum and Partition
Cited by top-tier papers5
- 0-1 Knapsack in Nearly Quadratic TimeCe JinSTOC 2024 · 6 citations
- Faster Algorithms for Text-to-Pattern Hamming DistancesTimothy M. Chan, Ce Jin, Virginia Vassilevska Williams, Yinzhan XuFOCS 2023 · 3 citations
- Approximating Partition in Near-Linear TimeLin Chen, Jiayi Lian, Yuchen Mao, Guochuan ZhangSTOC 2024 · 3 citations
- Approximation algorithms for combinatorial optimization with predictionsAntonios Antoniadis, Marek Eliás, Adam Polak, Moritz VenzinICLR 2025 · 1 citation
- Approximately Counting Knapsack Solutions in Subquadratic TimeWeiming Feng, Ce JinSODA 2025
Builds on3
- On Near-Linear-Time Algorithms for Dense Subset SumKarl Bringmann, Philip WellnitzSODA 2021 · 19 citations
- A Fine-Grained Perspective on Approximating Subset Sum and PartitionKarl Bringmann, Vasileios NakosSODA 2021 · 14 citations
- Approximating Knapsack and Partition via Dense Subset SumsMingyang Deng, Ce Jin, Xiao MaoSODA 2023 · 10 citations
Related papers
- A Nearly Quadratic-Time FPTAS for KnapsackLin Chen, Jiayi Lian, Yuchen Mao, Guochuan ZhangSTOC 2024 · 4 citations
- Knapsack with Small Items in Near-Quadratic TimeKarl BringmannSTOC 2024 · 8 citations
- Approximation Schemes and Structural Barriers for the Two-Dimensional Knapsack Problem with RotationsDebajyoti Kar, Arindam Khan, Andreas WieseSTOC 2026 · 2 citations
- Faster Algorithms for Bounded Knapsack and Bounded Subset Sum Via Fine-Grained Proximity ResultsLin Chen, Jiayi Lian, Yuchen Mao, Guochuan ZhangSODA 2024 · 10 citations
- Augmenting Packing Dynamic Programs to Handle (Many) Additional Budget ConstraintsAlexander Armbruster, Fabrizio Grandoni, Antoine Tinguely, Andreas WieseSODA 2026 · 2 citations
