paper

Weakly Approximating Knapsack in Subquadratic Time

arXiv:2504.15001

Abstract

We consider the classic Knapsack problem. Let and be the capacity and the optimal value, respectively. If one seeks a solution with total profit at least and total weight at most , then Knapsack can be solved in time [Chen, Lian, Mao, and Zhang '24][Mao '24]. This running time is the best possible (up to a logarithmic factor), assuming that -convolution cannot be solved in truly subquadratic time [Künnemann, Paturi, and Schneider '17][Cygan, Mucha, Węgrzycki, and Włodarczyk '19]. The same upper and lower bounds hold if one seeks a solution with total profit at least and total weight at most . Therefore, it is natural to ask the following question. If one seeks a solution with total profit at least and total weight at most , can Knsapck be solved in time for some constant ? We answer this open question affirmatively by proposing an -time algorithm.

To appear in ICALP2025

Weakly Approximating Knapsack in Subquadratic Time · wovepaper