arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1703.06048cs.DScs.CCmath.OC
收藏

带参数权重的背包问题的FPTAS

An FPTAS for the Knapsack Problem with Parametric Weights

Michael Holzhauser, Sven O. Krumke

摘要:

本文研究了参数权重背包问题,其中项目权重是$w_i(λ) = a_i + λ\cdot b_i$形式的仿射函数,其中$i \in \{1,\ldots,n\}$依赖于一个实值参数$λ$ .目的是为参数的所有值提供解决方案。众所周知,该问题的任何精确算法都可能需要输出指数数量的背包解。我们提出了第一个完全多项式时间近似方案(FPTAS)的问题,对于任何所需的精度$\varepsilon \in (0,1)$,计算$(1-\varepsilon)$的近似解决方案的所有值的参数。我们的FPTAS是基于两种不同的方法,并实现了运行时间的$\mathcal{O}(n^3/\varepsilon^2 \cdot \min\{ \log^2 P, n^2 \} \cdot \min\{\log M, n \log (n/\varepsilon) / \log(n \log (n/\varepsilon) )\})$,其中$P$是一个上限的最佳利润和$M := \max\{W, n \cdot \max\{a_i,b_i: i \in \{1,\ldots,n\}\}\}$的背包容量$W$。

英文摘要:

In this paper, we investigate the parametric weight knapsack problem, in which the item weights are affine functions of the form $w_i(λ) = a_i + λ\cdot b_i$ for $i \in \{1,\ldots,n\}$ depending on a real-valued parameter $λ$. The aim is to provide a solution for all values of the parameter. It is well-known that any exact algorithm for the problem may need to output an exponential number of knapsack solutions. We present the first fully polynomial-time approximation scheme (FPTAS) for the problem that, for any desired precision $\varepsilon \in (0,1)$, computes $(1-\varepsilon)$-approximate solutions for all values of the parameter. Our FPTAS is based on two different approaches and achieves a running time of $\mathcal{O}(n^3/\varepsilon^2 \cdot \min\{ \log^2 P, n^2 \} \cdot \min\{\log M, n \log (n/\varepsilon) / \log(n \log (n/\varepsilon) )\})$ where $P$ is an upper bound on the optimal profit and $M := \max\{W, n \cdot \max\{a_i,b_i: i \in \{1,\ldots,n\}\}\}$ for a knapsack with capacity $W$.

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

↑