arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1902.00919cs.DScs.CCcs.DM
收藏

一种求解基数约束背包问题的快速算法FPTAS

A Faster FPTAS for Knapsack Problem With Cardinality Constraint

Wenxin Li, Joohyun Lee

摘要:

我们研究$K$ -item背包问题(即,$1.5$ -维KP),这是著名的0-1背包问题(即,$1$ -维KP),其中上限$K$被强加于所选择的项目的数量。这个问题具有根本的重要性,并且已知在各个领域中具有广泛的应用。众所周知,对于$d$维背包问题,当$d\geq 2$,除非P $=$ NP,否则不存在FPTAS。虽然已知$K$ -项目背包问题允许FPTAS,但是所有现有的FPTAS的复杂性都高度依赖于基数界限$K$和近似误差$\varepsilon$,这可能导致效率低下,特别是当$K$和$\varepsilon^{-1}$增加时。目前最好的结果是由于Mastrolilli和Hutter(2006),其中提出了两个方案,展示了空间-时间权衡-一个方案具有时间复杂度$O(n+Kz^{2}/\varepsilon^{2})$和空间复杂度$O(n+z^{3}/\varepsilon)$,而另一个方案需要$O(n+(Kz^{2}+z^{4})/\varepsilon^{2})$运行时,但只需要$O(n+z^{2}/\varepsilon)$空间,其中$z=\min\{K,1/\varepsilon\}$。在本文中,我们关闭的空间-时间的权衡表现在国家的最先进的设计一个新的FPTAS与运行时间的$\widetilde{O}(n+z^{2}/\varepsilon^{2})$,同时达到$O(n+z^{2}/\varepsilon)$空间界限。我们的计划提供了$\widetilde{O}(K)$和$O(z)$的国家的最先进的算法在时间和空间复杂度分别改进,是第一个计划,实现了运行时间是独立的基数约束$K$(对数因子)下固定$\varepsilon$。我们的计划的另一个显着特点是,它是第一个FPTAS,实现更好的时间和空间复杂度的界限比第一个标准的FPTAS在所有参数制度。

英文摘要:

We study the $K$-item knapsack problem (i.e., $1.5$-dimensional KP), which is a generalization of the famous 0-1 knapsack problem (i.e., $1$-dimensional KP) in which an upper bound $K$ is imposed on the number of items selected. This problem is of fundamental importance and is known to have a broad range of applications in various fields. It is well known that, there is no FPTAS for the $d$-dimensional knapsack problem when $d\geq 2$, unless P $=$ NP. While the $K$-item knapsack problem is known to admit an FPTAS, the complexity of all existing FPTASs have a high dependency on the cardinality bound $K$ and approximation error $\varepsilon$, which could result in inefficiencies especially when $K$ and $\varepsilon^{-1}$ increase. The current best results are due to Mastrolilli and Hutter (2006), in which two schemes are presented exhibiting a space-time tradeoff--one scheme with time complexity $O(n+Kz^{2}/\varepsilon^{2})$ and space complexity $O(n+z^{3}/\varepsilon)$, while another scheme requires $O(n+(Kz^{2}+z^{4})/\varepsilon^{2})$ run-time but only needs $O(n+z^{2}/\varepsilon)$ space, where $z=\min\{K,1/\varepsilon\}$. In this paper we close the space-time tradeoff exhibited in the state-of-the-art by designing a new FPTAS with a run-time of $\widetilde{O}(n+z^{2}/\varepsilon^{2})$, while simultaneously reaching the $O(n+z^{2}/\varepsilon)$ space bound. Our scheme provides $\widetilde{O}(K)$ and $O(z)$ improvements on the state-of-the-art algorithms in time and space complexity respectively, and is the first scheme that achieves a run-time that is independent of cardinality bound $K$ (up to logarithmic factors) under fixed $\varepsilon$. Another salient feature of our scheme is that it is the first FPTAS that achieves better time and space complexity bounds than the very first standard FPTAS over all parameter regimes.

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

↑