arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2307.09454cs.DS
收藏

通过L0邻近性解决小物品背包问题

Solving Knapsack with Small Items via L0-Proximity

Ce Jin

AI总结:

本文利用Erdős-Sárközy加性组合定理建立ℓ0邻近性界,并结合ℓ0与ℓ1邻近性设计动态规划算法,将0-1背包问题时间复杂度改进为\tilde O(n+w_max^{2.5}),Subset Sum改进为\tilde O(n+w_max^{1.5})。

摘要:

我们研究基础0-1背包问题的伪多项式时间算法。就n和w_max而言,此前0-1背包算法的时间复杂度均为三次方级别:O(n^2 w_max)(Bellman 1957)、O(n w_max^2)(Kellerer和Pferschy 2004)以及O(n + w_max^3)(Polak、Rohwedder和Węgrzycki 2021)。另一方面,细粒度复杂性只能排除O((n+w_max)^{2-δ})的运行时间,因此能否达到\tilde O(n+w_max^2)时间是该领域的一个重要问题。我们的主要结果在解决这一问题上取得了显著进展:0-1背包问题存在一个确定性算法,运行时间为\tilde O(n + w_max^{2.5})。我们的技术同样适用于更简单的Subset Sum问题:Subset Sum问题存在一个随机化算法,运行时间为\tilde O(n + w_max^{1.5})。这改进(并简化)了Polak、Rohwedder和Węgrzycki(2021)此前基于Galil和Margalit(1991)以及Bringmann和Wellnitz(2021)的\tilde O(n + w_max^{5/3})时间算法。与近期关于背包问题(以及一般整数规划)的研究类似,我们的算法也利用了最优整数解与分数解之间的邻近性。我们的新思路如下:此前的工作在ℓ1范数下使用了O(w_max)的邻近性界。作为我们主要的概念性贡献,我们利用Erdős和Sárközy(1990)的加性组合定理推导出\tilde O(\sqrt{w_max})的ℓ0邻近性界。随后,我们背包结果的主要技术组成部分是一个动态规划算法,该算法同时利用ℓ0和ℓ1邻近性。它基于“witness propagation”方法的大幅扩展,该方法最初由Deng、Mao和Zhong(2023)仅针对更简单的unbounded情形设计。

英文摘要:

We study pseudo-polynomial time algorithms for the fundamental \emph{0-1 Knapsack} problem. In terms of $n$ and $w_{\max}$, previous algorithms for 0-1 Knapsack have cubic time complexities: $O(n^2w_{\max})$ (Bellman 1957), $O(nw_{\max}^2)$ (Kellerer and Pferschy 2004), and $O(n + w_{\max}^3)$ (Polak, Rohwedder, and Węgrzycki 2021). On the other hand, fine-grained complexity only rules out $O((n+w_{\max})^{2-δ})$ running time, and it is an important question in this area whether $\tilde O(n+w_{\max}^2)$ time is achievable. Our main result makes significant progress towards solving this question: - The 0-1 Knapsack problem has a deterministic algorithm in $\tilde O(n + w_{\max}^{2.5})$ time. Our techniques also apply to the easier \emph{Subset Sum} problem: - The Subset Sum problem has a randomized algorithm in $\tilde O(n + w_{\max}^{1.5})$ time. This improves (and simplifies) the previous $\tilde O(n + w_{\max}^{5/3})$-time algorithm by Polak, Rohwedder, and Węgrzycki (2021) (based on Galil and Margalit (1991), and Bringmann and Wellnitz (2021)). Similar to recent works on Knapsack (and integer programs in general), our algorithms also utilize the \emph{proximity} between optimal integral solutions and fractional solutions. Our new ideas are as follows: - Previous works used an $O(w_{\max})$ proximity bound in the $\ell_1$-norm. As our main conceptual contribution, we use an additive-combinatorial theorem by Erdős and Sárközy (1990) to derive an $\ell_0$-proximity bound of $\tilde O(\sqrt{w_{\max}})$. - Then, the main technical component of our Knapsack result is a dynamic programming algorithm that exploits both $\ell_0$- and $\ell_1$-proximity. It is based on a vast extension of the ``witness propagation'' method, originally designed by Deng, Mao, and Zhong (2023) for the easier \emph{unbounded} setting only.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑