A fast and effective breakpoints heuristic algorithm for the quadratic knapsack problem

被引:0
作者
Hochbaum, D. S. [1 ]
Baumann, P. [2 ]
Goldschmidt, O. [3 ]
Zhang, Y. [1 ]
机构
[1] Univ Calif Berkeley, Ind Engn & Operat Res Dept, Berkeley, CA 94720 USA
[2] Univ Bern, Dept Business Adm, Engehaldenstr 4, CH-3012 Bern, Switzerland
[3] Riverside Cty Off Educ, Riverside, CA 92501 USA
关键词
Combinatorial optimization; Quadratic Knapsack problem; Breakpoints algorithm; Parametric cut; Greedy algorithm; MAXIMUM DIVERSITY; TABU-SEARCH; DISPERSION; GRASP; PSEUDOFLOW; EVOLUTION;
D O I
10.1016/j.ejor.2024.12.019
中图分类号
C93 [管理学];
学科分类号
12 ; 1201 ; 1202 ; 120202 ;
摘要
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 maybe 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 Hochbaum (2009) 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 insignificantly 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.
引用
收藏
页码:425 / 440
页数:16
相关论文
共 54 条
[31]  
Kincaid R. K., 1992, Annals of Operations Research, V40, P265, DOI 10.1007/BF02060482
[32]  
KUBY MJ, 1987, GEOGR ANAL, V19, P315
[33]   ANALYZING AND MODELING THE MAXIMUM DIVERSITY PROBLEM BY ZERO-ONE PROGRAMMING [J].
KUO, CC ;
GLOVER, F ;
DHIR, KS .
DECISION SCIENCES, 1993, 24 (06) :1171-1185
[34]  
Marti R., 2021, European Journal of Operational Research
[35]   Iterated tabu search for the maximum diversity problem [J].
Palubeckis, Gintaras .
APPLIED MATHEMATICS AND COMPUTATION, 2007, 189 (01) :371-383
[36]   Measuring diversity. A review and an empirical analysis [J].
Parreno, Francisco ;
Alvarez-Valdes, Ramon ;
Marti, Rafael .
EUROPEAN JOURNAL OF OPERATIONAL RESEARCH, 2021, 289 (02) :515-532
[37]  
Pferschy Ulrich, 2009, Journal of Graph Algorithms and Applications, V13, P233, DOI DOI 10.7155/JGAA.00186
[38]  
Pisinger D., 2024, Private Communication
[39]   The quadratic knapsack problem - a survey [J].
Pisinger, David .
DISCRETE APPLIED MATHEMATICS, 2007, 155 (05) :623-648
[40]   Solution of large quadratic knapsack problems through aggressive reduction [J].
Pisinger, W. David ;
Rasmussen, Anders Bo ;
Sandvik, Rune .
INFORMS JOURNAL ON COMPUTING, 2007, 19 (02) :280-290