An FPTAS for the Knapsack Problem with Parametric Weights
arXiv:1703.06048
Abstract
In this paper, we investigate the parametric weight knapsack problem, in which the item weights are affine functions of the form for 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 , computes -approximate solutions for all values of the parameter. Our FPTAS is based on two different approaches and achieves a running time of where is an upper bound on the optimal profit and for a knapsack with capacity .
arXiv admin note: text overlap with arXiv:1701.07822