UKP5: A New Algorithm for the Unbounded Knapsack Problem

被引:1
|
作者
Becker, Henrique [1 ]
Buriol, Luciana S. [1 ]
机构
[1] Univ Fed Rio Grande do Sul, Porto Alegre, RS, Brazil
来源
关键词
Unbounded knapsack problem; Dynamic programming; Combinatorial optimization; LINEAR-PROGRAMMING APPROACH; CUTTING-STOCK PROBLEM;
D O I
10.1007/978-3-319-38851-9_4
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
In this paper we present UKP5, a novel algorithm for solving the unbounded knapsack problem. UKP5 is based on dynamic programming, but implemented in a non traditional way: instead of looking backward for stored values of subproblems, it stores incremental lower bounds forward. UKP5 uses sparsity, periodicity, and dominance for speeding up computation. UKP5 is considerably simpler than EDUK2, the state-of-the-art algorithm for solving the problem. Moreover, it can be naturally implemented using the imperative paradigm, differently from EDUK2. We run UKP5 and EDUK2 on a benchmark of hard instances proposed by the authors of EDUK2. The benchmark is composed by 4540 instances, divided into five classes, with instances ranging from small to large inside each class. Speedups were calculated for each class, and the overall speedup was calculated as the classes speedups average. The experimental results reveal that UKP5 outperforms EDUK2, being 47 times faster on the overall average.
引用
收藏
页码:50 / 62
页数:13
相关论文
共 50 条