Papers
Topics
Authors
Recent
Search
2000 character limit reached

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

Published 2 May 2023 in cs.DS | (2305.01593v1)

Abstract: We revisit the classic 0-1-Knapsack problem, in which we are given nn items with their weights and profits as well as a weight budget WW, and the goal is to find a subset of items of total weight at most WW that maximizes the total profit. We study pseudopolynomial-time algorithms parameterized by the largest profit of any item pmax⁡p_{\max}, and the largest weight of any item wmax⁡w_{\max}. Our main result are algorithms for 0-1-Knapsack running in time $\tilde{O}(n\,w_\max\,p_\max<sup>{2/3})$ and $\tilde{O}(n\,p_\max\,w_\max<sup>{2/3})$, improving upon an algorithm in time $O(n\,p_\max\,w_\max)$ by Pisinger [J. Algorithms '99]. In the regime $p_\max \approx w_\max \approx n$ (and W≈OPT≈n<sup>2W \approx \mathrm{OPT} \approx n<sup>2) our algorithms are the first to break the cubic barrier n<sup>3n<sup>3. To obtain our result, we give an efficient algorithm to compute the min-plus convolution of near-convex functions. More precisely, we say that a function f ⁣:[n]↦Zf \colon [n] \mapsto \mathbf{Z} is Δ\Delta-near convex with Δ≥1\Delta \geq 1, if there is a convex function f˘\breve{f} such that f˘(i)≤f(i)≤f˘(i)+Δ\breve{f}(i) \leq f(i) \leq \breve{f}(i) + \Delta for every ii. We design an algorithm computing the min-plus convolution of two Δ\Delta-near convex functions in time O~(nΔ)\tilde{O}(n\Delta). This tool can replace the usage of the prediction technique of Bateni, Hajiaghayi, Seddighin and Stein [STOC '18] in all applications we are aware of, and we believe it has wider applicability.

Citations (20)

Summary

No one has generated a summary of this paper yet.

Paper to Video (Beta)

No one has generated a video about this paper yet.

Whiteboard

No one has generated a whiteboard explanation for this paper yet.

Open Problems

We haven't generated a list of open problems mentioned in this paper yet.

Continue Learning

We haven't generated follow-up questions for this paper yet.