Papers
Topics
Authors
Recent
Search
2000 character limit reached

An FPTAS for the Knapsack Problem with Parametric Weights

Published 17 Mar 2017 in cs.DS, cs.CC, and math.OC | (1703.06048v1)

Abstract: In this paper, we investigate the parametric weight knapsack problem, in which the item weights are affine functions of the form wi(λ)=ai+λ⋅biw_i(\lambda) = a_i + \lambda \cdot b_i for i∈{1,…,n}i \in \{1,\ldots,n\} depending on a real-valued parameter λ\lambda. 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 ε∈(0,1)\varepsilon \in (0,1), computes (1−ε)(1-\varepsilon)-approximate solutions for all values of the parameter. Our FPTAS is based on two different approaches and achieves a running time of O(n3/ε2⋅min⁡{log⁡2P,n2}⋅min⁡{log⁡M,nlog⁡(n/ε)/log⁡(nlog⁡(n/ε))})\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 PP is an upper bound on the optimal profit and M:=max⁡{W,n⋅max⁡{ai,bi:i∈{1,…,n}}}M := \max\{W, n \cdot \max\{a_i,b_i: i \in \{1,\ldots,n\}\}\} for a knapsack with capacity WW.

Citations (8)

Summary

No one has generated a summary of this paper yet.

Paper to Video (Beta)

No one has generated a video about this paper yet.

Whiteboard

No one has generated a whiteboard explanation for this paper yet.

Open Problems

We haven't generated a list of open problems mentioned in this paper yet.

Continue Learning

We haven't generated follow-up questions for this paper yet.