The paper presents a new algorithm for solving the Knapsack problem in pseudopolynomial time. The key ideas are:
Splitting the items into 2q random groups and computing the profit sequences for each group. This allows the use of a specialized algorithm for computing the max-plus convolution of monotone sequences with bounded entries.
Reducing the general Knapsack instance to a "balanced" instance where the ratio of the knapsack capacity to the maximum weight, and the ratio of the optimal profit to the maximum profit, are roughly the same. This ensures that the entries in the profit sequences have a bounded range.
Exploiting the monotonicity of the profit sequences and the bounded range of entries to compute the max-plus convolutions efficiently using the rectangular monotone min-plus convolution algorithm.
The algorithm achieves a running time of e
O(n + t√pmax), improving upon the previous best known e
O(n + t · pmax)-time algorithm. The authors also provide some evidence that this running time might be optimal by showing a reduction from a variant of the min-plus convolution problem.
إلى لغة أخرى
من محتوى المصدر
arxiv.org
استفسارات أعمق