Fast Algorithms for Knapsack via Convolution and Prediction
MohammadHossein Bateni, MohammadTaghi Hajiaghayi, Saeed Seddighin,, Cliff Stein

TL;DR
This paper introduces near-linear time algorithms for the knapsack problem when item sizes or values are small integers, improving over classical quadratic or pseudo-polynomial solutions.
Contribution
The authors develop algorithms with near-linear running times for knapsack when item sizes or values are bounded by small integers, surpassing previous methods.
Findings
Algorithms run in O((n+t)\u03a3max) for small sizes
Algorithms run in O(n+tmax) for small values
Significantly faster than previous quadratic or pseudo-polynomial algorithms
Abstract
The \Problem{knapsack} problem is a fundamental problem in combinatorial optimization. It has been studied extensively from theoretical as well as practical perspectives as it is one of the most well-known NP-hard problems. The goal is to pack a knapsack of size with the maximum value from a collection of items with given sizes and values. Recent evidence suggests that a classic dynamic-programming solution for the \Problem{knapsack} problem might be the fastest in the worst case. In fact, solving the \Problem{knapsack} problem was shown to be computationally equivalent to the \Problem{ convolution} problem, which is thought to be facing a quadratic-time barrier. This hardness is in contrast to the more famous \Problem{ convolution} (generally known as \Problem{polynomial multiplication}), that has an -time solution via Fast Fourier…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsOptimization and Packing Problems · Optimization and Search Problems · Complexity and Algorithms in Graphs
