arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2408.12183math.OC
收藏

一种用于二次背包问题的快速有效断点启发式算法

A Fast and Effective Breakpoints Heuristic Algorithm for the Quadratic Knapsack Problem

Dorit S. Hochbaum, Philipp Baumann, Olivier Goldschmidt, Yiqing Zhang

AI总结:

本文提出QKBP断点启发式算法,利用凹包络断点最优性和参数割过程高效求解二次背包问题,在多达一万个元素的基准测试中持续获得高质量解且运行速度显著优于现有领先算法。

摘要:

二次背包问题(QKP)涉及选择一个元素子集,在不超出给定预算的前提下最大化成对效用与单项效用之和。成对效用为非负值,单项效用可以为正、负或零,节点成本为非负值。我们为QKP引入了一种断点算法,命名为QKBP,该算法基于\cite{Hoc09}中提出的技术,用于高效生成问题松弛解在所有预算取值下的凹包络。我们的方法利用了凹包络中的断点是对应各自预算的最优解这一事实。对于断点之间的预算,一种快速贪心启发式方法从相邻断点的最优解出发推导出高质量解。QKBP算法是一种启发式算法,由于采用了高效的参数割过程来生成凹包络,因此具有很高的可扩展性。通过新开发的紧凑问题表述,这一效率得到进一步提升。我们在现有和新构建的基准实例上进行了广泛的计算研究,实例规模最多包含10,000个元素,结果表明,虽然一些领先算法在少数实例上表现良好,但QKBP无论实例规模、密度或预算如何,都能持续提供高质量解。此外,QKBP在运行时间上显著快于所有领先算法。QKBP算法的源代码、基准实例和详细结果已在GitHub上公开。

英文摘要:

The Quadratic Knapsack Problem (QKP) involves selecting a subset of elements that maximizes the sum of pairwise and singleton utilities without exceeding a given budget. The pairwise utilities are nonnegative, the singleton utilities may be positive, negative, or zero, and the node costs are nonnegative. We introduce a Breakpoints Algorithm for QKP, named QKBP, which is based on a technique proposed in \cite{Hoc09} for efficiently generating the concave envelope of the solutions to the relaxation of the problem for all values of the budget. Our approach utilizes the fact that breakpoints in the concave envelopes are optimal solutions for their respective budgets. For budgets between breakpoints, a fast greedy heuristic derives high-quality solutions from the optimal solutions of adjacent breakpoints. The QKBP algorithm is a heuristic which is highly scalable due to an efficient parametric cut procedure used to generate the concave envelope. This efficiency is further improved by a newly developed compact problem formulation. Our extensive computational study on both existing and new benchmark instances, with up to 10,000 elements, shows that while some leading algorithms perform well on a few instances, QKBP consistently delivers high-quality solutions regardless of instance size, density, or budget. Moreover, QKBP achieves these results in significantly faster running times than all leading algorithms. The source code of the QKBP algorithm, the benchmark instances, and the detailed results are publicly available on GitHub.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑