arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2308.11307cs.DS
收藏

背包问题的简单且更快算法

Simple and Faster Algorithms for Knapsack

Qizheng He, Zhean Xu

AI总结:

本文为0-1背包和有界背包提出更简单的伪多项式随机算法,分别改进小$n$情形及重量/收益三次方依赖的已知运行时间界。

摘要:

本文针对著名的背包问题,获得了若干新的简单伪多项式时间算法,重点关注运行时间对物品数量$n$、最大物品重量$w_\mathrm{max}$和最大物品收益$p_\mathrm{max}$的依赖。结果包括:一种用于0-1背包、运行时间为$\widetilde{O}(n^{3/2}\cdot\min\{w_\mathrm{max},p_\mathrm{max}\})$的随机算法,在小$n$情形下改进了Bringmann和Cassis在ESA'23提出的先前界$\widetilde{O}(\min\{nw_\mathrm{max}p_\mathrm{max}^{2/3},np_\mathrm{max}w_\mathrm{max}^{2/3}\})$;以及一种用于有界背包、运行时间为$\widetilde{O}(n+\min\{w_\mathrm{max},p_\mathrm{max}\}^{5/2})$的随机算法,改进了Polak、Rohwedder和Wegrzyck在ICALP'21提出的先前界$O(n+\min\{w_\mathrm{max}^3,p_\mathrm{max}^3\})$。

英文摘要:

In this paper, we obtain a number of new simple pseudo-polynomial time algorithms on the well-known knapsack problem, focusing on the running time dependency on the number of items $n$, the maximum item weight $w_\mathrm{max}$, and the maximum item profit $p_\mathrm{max}$. Our results include: - An $\widetilde{O}(n^{3/2}\cdot \min\{w_\mathrm{max},p_\mathrm{max}\})$-time randomized algorithm for 0-1 knapsack, improving the previous $\widetilde{O}(\min\{n w_\mathrm{max} p_\mathrm{max}^{2/3},n p_\mathrm{max} w_\mathrm{max}^{2/3}\})$ [Bringmann and Cassis, ESA'23] for the small $n$ case. - An $\widetilde{O}(n+\min\{w_\mathrm{max},p_\mathrm{max}\}^{5/2})$-time randomized algorithm for bounded knapsack, improving the previous $O(n+\min\{w_\mathrm{max}^3,p_\mathrm{max}^3\})$ [Polak, Rohwedder and Wegrzyck, ICALP'21].

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

↑