0

[2308.07004] $(1-ε)$-Approximation of Knapsack in Nearly Quadratic Time

 1 month ago
source link: https://arxiv.org/abs/2308.07004
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

Computer Science > Data Structures and Algorithms

[Submitted on 14 Aug 2023 (v1), last revised 21 Mar 2024 (this version, v3)]

(1-ε)-Approximation of Knapsack in Nearly Quadratic Time

View PDF HTML (experimental)

Knapsack is one of the most fundamental problems in theoretical computer science. In the (1 - \epsilon)-approximation setting, although there is a fine-grained lower bound of (n + 1 / \epsilon) ^ {2 - o(1)} based on the (\min, +)-convolution hypothesis ([K{ü}nnemann, Paturi and Stefan Schneider, ICALP 2017] and [Cygan, Mucha, Wegrzycki and Wlodarczyk, 2017]), the best algorithm is randomized and runs in \tilde O\left(n + (\frac{1}{\epsilon})^{11/5}/2^{\Omega(\sqrt{\log(1/\epsilon)})}\right) 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 - \epsilon)-approximation scheme for knapsack that runs in \tilde O(n + (1 / \epsilon) ^ {2}) time. We first extend a known lemma in a recursive way to reduce the problem to n \epsilon-additive approximation for n items with profits in [1, 2). Then we give a simple efficient geometry-based algorithm for the reduced problem.
Subjects: Data Structures and Algorithms (cs.DS)
Cite as: arXiv:2308.07004 [cs.DS]
  (or arXiv:2308.07004v3 [cs.DS] for this version)
  https://doi.org/10.48550/arXiv.2308.07004

Submission history

From: Xiao Mao [view email]
[v1] Mon, 14 Aug 2023 08:40:38 UTC (39 KB)
[v2] Tue, 19 Mar 2024 18:02:02 UTC (54 KB)
[v3] Thu, 21 Mar 2024 15:57:28 UTC (54 KB)

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK