Knapsack with Small Items in Near-Quadratic Time

08/06/2023
by   Karl Bringmann, et al.
0

The Bounded 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 Bounded Knapsack parameterized by the maximum item weight w_max and the number of items n. A conditional lower bound rules out that Bounded Knapsack can be solved in time O((n+w_max)^2-δ) for any δ > 0 [Cygan, Mucha, Wegrzycki, Wlodarczyk'17, Künnemann, Paturi, Schneider'17]. This raised the question whether Bounded Knapsack can be solved in time Õ((n+w_max)^2). The quest of resolving this question lead to algorithms that run in time Õ(n^3 w_max^2) [Tamir'09], Õ(n^2 w_max^2) and Õ(n w_max^3) [Bateni, Hajiaghayi, Seddighin, Stein'18], O(n^2 w_max^2) and Õ(n w_max^2) [Eisenbrand and Weismantel'18], O(n + w_max^3) [Polak, Rohwedder, Wegrzycki'21], and very recently Õ(n + w_max^12/5) [Chen, Lian, Mao, Zhang'23]. In this paper we resolve this question by designing an algorithm for Bounded Knapsack with running time Õ(n + w_max^2), which is conditionally near-optimal.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
07/24/2023

Faster Algorithms for Bounded Knapsack and Bounded Subset Sum Via Fine-Grained Proximity Results

We investigate pseudopolynomial-time algorithms for Bounded Knapsack and...
research
05/29/2022

Theory and Applications of Probabilistic Kolmogorov Complexity

Diverse applications of Kolmogorov complexity to learning [CIKK16], circ...
research
11/30/2018

Fast Algorithms for Knapsack via Convolution and Prediction

The knapsack problem is a fundamental problem in combinatorial optimizat...
research
02/03/2019

Knapsack Problem With Cardinality Constraint: A Faster FPTAS Through the Lens of Numerical Analysis and Applications

We study the K-item knapsack problem (, 1.5-dimensional knapsack problem...
research
02/03/2019

A Faster FPTAS for Knapsack Problem With Cardinality Constraint

We study the K-item knapsack problem (, 1.5-dimensional KP), which is a ...
research
12/30/2019

Exact exponential algorithms for two poset problems

Partially ordered sets (posets) are fundamental combinatorial objects wi...
research
05/02/2023

Faster 0-1-Knapsack via Near-Convex Min-Plus-Convolution

We revisit the classic 0-1-Knapsack problem, in which we are given n ite...

Please sign up or login with your details

Forgot password? Click here to reset