Knapsack with Small Items in Near-Quadratic Time
摘要
The Knapsack problem is one of the most fundamental NP-complete problems at the intersection of computer science, optimization, and operations research. A recent line of research worked towards understanding the complexity of pseudopolynomial-time algorithms for Knapsack parameterized by the maximum item weight w max and the number of items n. A conditional lower bound rules out that Knapsack can be solved in time Oppn `wmax q 2´δ q for any δ ą 0 [Cygan, Mucha, Wegrzycki, Wlodarczyk'17, Künnemann, Paturi, Schneider'17]. This raised the question whether Knapsack can be solved in time r
Oppn wmax q 2 q. This was open both for 0-1-Knapsack (where each item can be picked at most once) and Bounded Knapsack (where each item comes with a multiplicity). The quest of resolving this question lead to algorithms that solve Bounded Knapsack in time r Opn 3 w 2 max q [Tamir'09], r Opn 2 w 2 max q and r Opnw 3 max q [Bateni, Hajiaghayi, Seddighin, Stein'18], Opn 2 w 2 max q and r Opnw 2 max q [Eisenbrand and Weismantel'18], Opn w3 max q [Polak, Rohwedder, Wegrzycki'21], and very recently r Opn `w125 max q [Chen, Lian, Mao, Zhang'23].
In this paper we resolve this question by designing an algorithm for Bounded Knapsack with running time r Opn `w2 max q, which is conditionally near-optimal. This resolves the question both for the classic 0-1-Knapsack problem and for the Bounded Knapsack problem.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 11 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Approximating Knapsack and Partition via Dense Subset Sums 引用了 On Near-Linear-Time Algorithms for Dense Subset Sum
- Approximating Knapsack and Partition via Dense Subset Sums 引用了 A Fine-Grained Perspective on Approximating Subset Sum and Partition
- 0-1 Knapsack in Nearly Quadratic Time 引用了 On Near-Linear-Time Algorithms for Dense Subset Sum
- 0-1 Knapsack in Nearly Quadratic Time 引用了 Approximating Knapsack and Partition via Dense Subset Sums
- 0-1 Knapsack in Nearly Quadratic Time 引用了 A Nearly Quadratic-Time FPTAS for Knapsack
- A Nearly Quadratic-Time FPTAS for Knapsack 引用了 0-1 Knapsack in Nearly Quadratic Time
- 0-1 Knapsack in Nearly Quadratic Time 引用了 A Fine-Grained Perspective on Approximating Subset Sum and Partition
- 0-1 Knapsack in Nearly Quadratic Time 引用了 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 引用了 0-1 Knapsack in Nearly Quadratic Time
- A Nearly Quadratic-Time FPTAS for Knapsack 引用了 On Near-Linear-Time Algorithms for Dense Subset Sum
- A Nearly Quadratic-Time FPTAS for Knapsack 引用了 Approximating Knapsack and Partition via Dense Subset Sums
- A Nearly Quadratic-Time FPTAS for Knapsack 引用了 A Fine-Grained Perspective on Approximating Subset Sum and Partition
- A Nearly Quadratic-Time FPTAS for Knapsack 引用了 Faster Algorithms for Bounded Knapsack and Bounded Subset Sum Via Fine-Grained Proximity Results
- An Improved Pseudopolynomial Time Algorithm for Subset Sum 引用了 On Near-Linear-Time Algorithms for Dense Subset Sum
- An Improved Pseudopolynomial Time Algorithm for Subset Sum 引用了 Approximating Knapsack and Partition via Dense Subset Sums
- An Improved Pseudopolynomial Time Algorithm for Subset Sum 引用了 0-1 Knapsack in Nearly Quadratic Time
- An Improved Pseudopolynomial Time Algorithm for Subset Sum 引用了 A Fine-Grained Perspective on Approximating Subset Sum and Partition
- An Improved Pseudopolynomial Time Algorithm for Subset Sum 引用了 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 引用了 On Near-Linear-Time Algorithms for Dense Subset Sum
- Faster Algorithms for Bounded Knapsack and Bounded Subset Sum Via Fine-Grained Proximity Results 引用了 Approximating Knapsack and Partition via Dense Subset Sums
- Faster Algorithms for Bounded Knapsack and Bounded Subset Sum Via Fine-Grained Proximity Results 引用了 A Fine-Grained Perspective on Approximating Subset Sum and Partition
引用它的顶会 Paper11
- Faster Algorithms for Bounded Knapsack and Bounded Subset Sum Via Fine-Grained Proximity ResultsLin Chen, Jiayi Lian, Yuchen Mao, Guochuan ZhangSODA 2024 · 10 次引用
- 0-1 Knapsack in Nearly Quadratic TimeCe JinSTOC 2024 · 6 次引用
- Tight (S)ETH-Based Lower Bounds for Pseudopolynomial Algorithms for Bin Packing and Multi-machine SchedulingKarl Bringmann, Anita Dürr, Karol WegrzyckiSTOC 2026 · 6 次引用
- An Improved Pseudopolynomial Time Algorithm for Subset SumLin Chen, Jiayi Lian, Yuchen Mao, Guochuan ZhangFOCS 2024 · 5 次引用
- A Nearly Quadratic-Time FPTAS for KnapsackLin Chen, Jiayi Lian, Yuchen Mao, Guochuan ZhangSTOC 2024 · 4 次引用
它引用的 Paper5
- On Near-Linear-Time Algorithms for Dense Subset SumKarl Bringmann, Philip WellnitzSODA 2021 · 19 次引用
- A Fine-Grained Perspective on Approximating Subset Sum and PartitionKarl Bringmann, Vasileios NakosSODA 2021 · 14 次引用
- Approximating Knapsack and Partition via Dense Subset SumsMingyang Deng, Ce Jin, Xiao MaoSODA 2023 · 10 次引用
- Faster Algorithms for Bounded Knapsack and Bounded Subset Sum Via Fine-Grained Proximity ResultsLin Chen, Jiayi Lian, Yuchen Mao, Guochuan ZhangSODA 2024 · 10 次引用
- 0-1 Knapsack in Nearly Quadratic TimeCe JinSTOC 2024 · 6 次引用
相关 Paper
- (1 - ε)-Approximation of Knapsack in Nearly Quadratic TimeXiao MaoSTOC 2024
- Approximately Counting Knapsack Solutions in Subquadratic TimeWeiming Feng, Ce JinSODA 2025
- Approximation Schemes and Structural Barriers for the Two-Dimensional Knapsack Problem with RotationsDebajyoti Kar, Arindam Khan, Andreas WieseSTOC 2026 · 2 次引用
- Online Knapsack with Frequency PredictionsSungjin Im, Ravi Kumar, Mahshid Montazer Qaem, Manish PurohitNeurIPS 2021 · 70 次引用
- 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 次引用
