Papers
Topics
Authors
Recent
Gemini 2.5 Flash
Gemini 2.5 Flash
158 tokens/sec
GPT-4o
7 tokens/sec
Gemini 2.5 Pro Pro
45 tokens/sec
o3 Pro
4 tokens/sec
GPT-4.1 Pro
38 tokens/sec
DeepSeek R1 via Azure Pro
28 tokens/sec
2000 character limit reached

An FPTAS for the Knapsack Problem with Parametric Weights (1703.06048v1)

Published 17 Mar 2017 in cs.DS, cs.CC, and math.OC

Abstract: In this paper, we investigate the parametric weight knapsack problem, in which the item weights are affine functions of the form $w_i(\lambda) = a_i + \lambda \cdot b_i$ for $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 $\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}(n3/\varepsilon2 \cdot \min{ \log2 P, n2 } \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$.

Citations (8)

Summary

We haven't generated a summary for this paper yet.