A Fast and Effective Breakpoints Heuristic Algorithm for the Quadratic Knapsack Problem
DHDorit S. Hochbaum
Philipp BaumannOlivier GoldschmidtYiqing Zhang DHDorit S. Hochbaum

Philipp Baumann
Olivier Goldschmidt
Yiqing Zhang
+4
We introduce QKBP, a fast heuristic for the Quadratic Knapsack Problem (QKP) with nonnegative pairwise utilities, any-sign singleton utilities, and nonnegative node costs. QKBP efficiently generates the concave envelope of the relaxation for all budgets via parametric cuts, uses breakpoints as optimal solutions, and applies a greedy heuristic for intermediate budgets. Experiments on instances up to 10,000 elements show QKBP consistently delivers high-quality solutions across sizes, densities, and budgets, with significantly faster running times than leading algorithms.

arXiv ·
· August 22, 2024