Knapsack with Small Items in Near-Quadratic Time

Abstract

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 wmaxw_{\mathrm{max}} and the number of items nn. A conditional lower bound rules out that Bounded Knapsack can be solved in time O((n+wmax)2βˆ’Ξ΄)O((n+w_{\mathrm{max}})^{2-\delta}) for any Ξ΄>0\delta > 0 [Cygan, Mucha, Wegrzycki, Wlodarczyk'17, K\"unnemann, Paturi, Schneider'17]. This raised the question whether Bounded Knapsack can be solved in time O~((n+wmax)2)\tilde O((n+w_{\mathrm{max}})^2). The quest of resolving this question lead to algorithms that run in time O~(n3wmax2)\tilde O(n^3 w_{\mathrm{max}}^2) [Tamir'09], O~(n2wmax2)\tilde O(n^2 w_{\mathrm{max}}^2) and O~(nwmax3)\tilde O(n w_{\mathrm{max}}^3) [Bateni, Hajiaghayi, Seddighin, Stein'18], O(n2wmax2)O(n^2 w_{\mathrm{max}}^2) and O~(nwmax2)\tilde O(n w_{\mathrm{max}}^2) [Eisenbrand and Weismantel'18], O(n+wmax3)O(n + w_{\mathrm{max}}^3) [Polak, Rohwedder, Wegrzycki'21], and very recently O~(n+wmax12/5)\tilde O(n + w_{\mathrm{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 O~(n+wmax2)\tilde O(n + w_{\mathrm{max}}^2), which is conditionally near-optimal.Comment: 28 page

    Similar works

    Full text

    thumbnail-image

    Available Versions