背包问题:连通性、路径与最短路径
Knapsack: Connectedness, Path, and Shortest-Path
AI总结:
本文研究带图论约束的背包问题,证明连通背包在最大度为四的图和星图上具有NP完全性,并基于树宽给出精确算法和近似算法,同时比较了连通、路径与最短路径背包的计算难度。
摘要:
我们研究具有图论约束的背包问题。即,假设背包物品集合上存在一个图结构,且解除了需要满足背包约束外,还必须满足某些图论性质。特别地,在连通背包问题中,我们需要在背包容量约束下计算一个具有最大价值的连通物品子集。我们证明该问题即使在最大度为四的图上也是强NP完全的,即使在星图上也是NP完全的。另一方面,我们提出了一个运行时间为 $O\left(2^{tw\log tw}\cdot\text{poly}(\min\{s^2,d^2\})\right)$ 的算法,其中 $tw,s,d$ 分别是图的树宽、背包容量和目标价值。我们进一步给出了一个对任意 $ε>0$ 运行时间为 $O\left(2^{tw\log tw}\cdot\text{poly}(n,1/ε)\right)$ 的 $(1-ε)$ 因子近似算法。我们在路径背包和最短路径背包问题名下,对另外几个图论性质,即路径和最短路径,展示了类似结果。我们的结果似乎表明连通背包在计算上最难,其次是路径背包和最短路径背包。
英文摘要:
We study the knapsack problem with graph theoretic constraints. That is, we assume that there exists a graph structure on the set of items of knapsack and the solution also needs to satisfy certain graph theoretic properties on top of knapsack constraints. In particular, we need to compute in the connected knapsack problem a connected subset of items which has maximum value subject to the size of knapsack constraint. We show that this problem is strongly NP-complete even for graphs of maximum degree four and NP-complete even for star graphs. On the other hand, we develop an algorithm running in time $O\left(2^{tw\log tw}\cdot\text{poly}(\min\{s^2,d^2\})\right)$ where $tw,s,d$ are respectively treewidth of the graph, size, and target value of the knapsack. We further exhibit a $(1-ε)$ factor approximation algorithm running in time $O\left(2^{tw\log tw}\cdot\text{poly}(n,1/ε)\right)$ for every $ε>0$. We show similar results for several other graph theoretic properties, namely path and shortest-path under the problem names path-knapsack and shortestpath-knapsack. Our results seems to indicate that connected-knapsack is computationally hardest followed by path-knapsack and shortestpath-knapsack.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。