Faster Knapsack Algorithms via Bounded Monotone Min-Plus-Convolution
Abstract
We present new exact and approximation algorithms for 0-1-Knapsack and Unbounded Knapsack: * Exact Algorithm for 0-1-Knapsack: 0-1-Knapsack has known algorithms running in time , where is the number of items, is the weight budget, and is the optimal profit. We present an algorithm running in time . This improves the running time in case are roughly equal. * Exact Algorithm for Unbounded Knapsack: Unbounded Knapsack has known algorithms running in time [Axiotis, Tzamos '19, Jansen, Rohwedder '19, Chan, He '20], where is the number of items, is the largest weight of any item, and is the largest profit of any item. We present an algorithm running in time , giving a similar improvement as for 0-1-Knapsack. * Approximating Unbounded Knapsack with Resource Augmentation: Unbounded Knapsack has a known FPTAS with running time [Jansen, Kraft '18]. We study weak approximation algorithms, which approximate the optimal profit but are allowed to overshoot the weight constraint. We present the first approximation scheme for Unbounded Knapsack in this setting, achieving running time . Our algorithms can be seen as reductions to Min-Plus-Convolution on monotone sequences with bounded entries. These structured instances of Min-Plus-Convolution can be solved in time [Chi,Duan,Xie,Zhang '22] (in contrast to the conjectured lower bound for the general case).
Cite
@article{arxiv.2205.08493,
title = {Faster Knapsack Algorithms via Bounded Monotone Min-Plus-Convolution},
author = {Karl Bringmann and Alejandro Cassis},
journal= {arXiv preprint arXiv:2205.08493},
year = {2022}
}
Comments
Shortened abstract. Appears at ICALP '22