【24h】

Propagating Knapsack Constraints in Sublinear Time

机译:在亚线性时间中传播背包约束

获取原文
获取原文并翻译 | 示例

摘要

We develop an efficient incremental version of an existing cost-based filtering algorithm for the knapsack constraint. On a universe of n elements, m invocations of the algorithm require a total of O(n log n+mk log(n/k)) time, where k ≤ n depends on the specific knapsack instance. We show that the expected value of k is significantly smaller than n on several interesting input distributions, hence while keeping the same worst-case complexity, on expectation the new algorithm is faster than the previously best method which runs in amortized linear time. After a theoretical study, we introduce heuristic enhancements and demonstrate the new algorithm's performance experimentally.
机译:我们为背包约束开发了一个现有的基于成本的过滤算法的有效增量版本。在n个元素的整体上,算法的m次调用总共需要O(n log n + mk log(n / k))时间,其中k≤n取决于特定的背包实例。我们表明,在几个有趣的输入分布上,k的期望值显着小于n,因此,在保持相同的最坏情况复杂度的同时,根据预期,新算法比以摊销线性时间运行的先前最佳方法要快。经过理论研究,我们介绍了启发式增强功能,并通过实验证明了新算法的性能。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号