Reoptimizing the 0-1 knapsack problem

被引:22
|
作者
Archetti, Claudia [1 ]
Bertazzi, Luca [1 ]
Speranza, M. Grazia [1 ]
机构
[1] Univ Brescia, Dept Quantitat Methods, Brescia, Italy
关键词
0-1 knapsack problem; Reoptimization; Worst-case analysis; APPROXIMATION ALGORITHMS;
D O I
10.1016/j.dam.2010.08.003
中图分类号
O29 [应用数学];
学科分类号
070104 ;
摘要
In this paper we study the problem where an optimal solution of a knapsack problem on n items is known and a very small number k of new items arrive. The objective is to find an optimal solution of the knapsack problem with n k items, given an optimal solution on the n items (reoptimization of the knapsack problem). We show that this problem, even in the case k = 1, is NP-hard and that, in order to have effective heuristics, it is necessary to consider not only the items included in the previously optimal solution and the new items, but also the discarded items. Then, we design a general algorithm that makes use, for the solution of a subproblem, of an alpha-approximation algorithm known for the knapsack problem. We prove that this algorithm has a worst-case performance bound of 1/2-alpha which is always greater than alpha, and therefore that this algorithm always outperforms the corresponding alpha-approximation algorithm applied from scratch on the n + k items. We show that this bound is tight when the classical Ext-Greedy algorithm and the G(3/4) algorithm are used to solve the subproblem. We also show that there exist classes of instances on which the running time of the reoptimization algorithm is smaller than the running time of an equivalent PTAS and FPTAS. (C) 2010 Elsevier B.V. All rights reserved.
引用
收藏
页码:1879 / 1887
页数:9
相关论文
共 50 条