基于细粒度邻近性结果的有界背包与有界子集和的更快算法
Faster Algorithms for Bounded Knapsack and Bounded Subset Sum Via Fine-Grained Proximity Results
AI总结:
本文针对有界背包和有界子集和问题,利用细粒度邻近性结果提出更快伪多项式时间算法,将有界背包复杂度从O(n+w³max)改进为Õ(n+w^(12/5)max),并为有界子集和给出与0-1情形匹配的Õ(nwmax)和Õ(n+w^(3/2)max)算法。
摘要:
我们研究有界背包(Bounded Knapsack)和有界子集和(Bounded Subset Sum)的伪多项式时间算法。近年来,人们对确定它们相对于各种参数的细粒度复杂度越来越感兴趣。对于有界背包,物品数量 $n$ 和最大物品重量 $w_{\max}$ 是文献中被广泛研究的两个最自然的参数。此前以 $n$ 和 $w_{\max}$ 表示的最佳运行时间为 $O(n + w^3_{\max})$ [Polak, Rohwedder, Wegrzycki '21]。基于 $(\min,+)$-卷积假设,存在条件性下界 $O((n + w_{\max})^{2-o(1)})$ [Cygan, Mucha, Wegrzycki, Wlodarczyk '17]。我们提出一个 $\tilde{O}(n + w^{12/5}_{\max})$ 时间的算法,显著缩小了这一差距。注意,在 $w_{\max} \approx n$ 的情形下,我们的算法运行时间为 $\tilde{O}(n^{12/5})$,而所有先前算法在最坏情况下都需要 $Ω(n^3)$ 时间。对于有界子集和,我们给出两个算法,运行时间分别为 $\tilde{O}(nw_{\max})$ 和 $\tilde{O}(n + w^{3/2}_{\max})$。这些结果与当前 0-1 子集和的最佳运行时间相匹配。在我们的工作之前,有界子集和的最佳运行时间(以 $n$ 和 $w_{\max}$ 表示)为 $\tilde{O}(n + w^{5/3}_{\max})$ [Polak, Rohwedder, Wegrzycki '21] 和 $\tilde{O}(n + μ_{\max}^{1/2}w_{\max}^{3/2})$ [由 Bringmann '19 和 Bringmann, Wellnitz '21 隐含给出],其中 $μ_{\max}$ 表示物品重量的最大重数。
英文摘要:
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 $n$ and the maximum item weight $w_{\max}$ are two of the most natural parameters that have been studied extensively in the literature. The previous best running time in terms of $n$ and $w_{\max}$ is $O(n + w^3_{\max})$ [Polak, Rohwedder, Wegrzycki '21]. There is a conditional lower bound of $O((n + w_{\max})^{2-o(1)})$ based on $(\min,+)$-convolution hypothesis [Cygan, Mucha, Wegrzycki, Wlodarczyk '17]. We narrow the gap significantly by proposing a $\tilde{O}(n + w^{12/5}_{\max})$-time algorithm. Note that in the regime where $w_{\max} \approx n$, our algorithm runs in $\tilde{O}(n^{12/5})$ time, while all the previous algorithms require $Ω(n^3)$ time in the worst case. For Bounded Subset Sum, we give two algorithms running in $\tilde{O}(nw_{\max})$ and $\tilde{O}(n + w^{3/2}_{\max})$ 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 $n$ and $w_{\max}$) for Bounded Subset Sum is $\tilde{O}(n + w^{5/3}_{\max})$ [Polak, Rohwedder, Wegrzycki '21] and $\tilde{O}(n + μ_{\max}^{1/2}w_{\max}^{3/2})$ [implied by Bringmann '19 and Bringmann, Wellnitz '21], where $μ_{\max}$ refers to the maximum multiplicity of item weights.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。