首页> 外文会议>International symposium on experimental algorithms >UKP5: A New Algorithm for the Unbounded Knapsack Problem
【24h】

UKP5: A New Algorithm for the Unbounded Knapsack Problem

机译:UKP5:无限背包问​​题的新算法

获取原文

摘要

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.
机译:在本文中,我们介绍UKP5,这是一种解决无限制背包问题的新颖算法。 UKP5基于动态编程,但以非传统方式实现:不是向后看子问题的存储值,而是向前存储递增的下限。 UKP5使用稀疏性,周期性和主导性来加快计算速度。 UKP5比EDUK2简单得多,后者是解决问题的最新算法。此外,与EDUK2不同,它可以使用命令式范式自然实现。我们以EDUK2的作者提出的硬实例为基准运行UKP5和EDUK2。基准测试由4540个实例组成,分为五个类,每个类中实例的大小从小到大。计算每个班级的提速率,并将总提速率计算为班级提速率的平均值。实验结果表明UKP5优于EDUK2,是整体平均值的47倍。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号