Faster Algorithms for Bounded Knapsack and Bounded Subset Sum Via Fine-Grained Proximity Results
Abstract
We investigate pseudopolynomial-time algorithms for Bounded Knapsack and Bounded Subset Sum. Recent years have seen a growing interest in settling their fine-grained complexity with respect to various parameters. For Bounded Knapsack, the number of items and the maximum item weight are two of the most natural parameters that have been studied extensively in the literature. The previous best running time in terms of and is [Polak, Rohwedder, Wegrzycki '21]. There is a conditional lower bound of based on -convolution hypothesis [Cygan, Mucha, Wegrzycki, Wlodarczyk '17]. We narrow the gap significantly by proposing a -time algorithm. Note that in the regime where , our algorithm runs in time, while all the previous algorithms require time in the worst case. For Bounded Subset Sum, we give two algorithms running in and time, respectively. These results match the currently best running time for 0-1 Subset Sum. Prior to our work, the best running times (in terms of and ) for Bounded Subset Sum is [Polak, Rohwedder, Wegrzycki '21] and [implied by Bringmann '19 and Bringmann, Wellnitz '21], where refers to the maximum multiplicity of item weights.
Cite
@article{arxiv.2307.12582,
title = {Faster Algorithms for Bounded Knapsack and Bounded Subset Sum Via Fine-Grained Proximity Results},
author = {Lin Chen and Jiayi Lian and Yuchen Mao and Guochuan Zhang},
journal= {arXiv preprint arXiv:2307.12582},
year = {2023}
}
Comments
To appear in SODA2024