Organizations: Department of Information Technology, Indian Institute of Information Technology Allahabad, Prayagraj, 211015, Uttar Pradesh, India · School of Computer and Information Sciences, University of Hyderabad, Hyderabad, 500046, Telangana, India
The quadratic knapsack problem (QKP) seeks a subset of items of maximum total linear and pairwise profit whose total weight does not exceed a given capacity. Most QKP heuristics rank items by a profit-to-weight ratio. We show on benchmark instances that this ranking can steer the search away from the best known solutions, and that on an almost full knapsack a local optimum can be separated from a better solution by an exchange where every single swap loses profit. We propose SSGA-P, a steady-state genetic algorithm with pair exchange that addresses both effects. Its initial population contains greedy solutions built with a grid of exponents between 0.5 and 3 applied to the item weights, and its pair exchange move combines an improving swap violating the capacity with a second swap or removal that restores feasibility. Incremental contribution vectors keep the method practical up to 10{,}000 items. SSGA-P finds optimal solutions in every run on the 100 classical instances and reaches all best known values in 99.8% of the runs on the 80 instances with 1000 and 2000 items and in 99.75% on the 40 instances with 5000 and 6000 items, significantly above the 87.7% of the iterated hyperplane exploration algorithm, improving one best known value. On the 144 Large-QKP instances of Hochbaum et al. (2025), with the same 120-second limit, it improves 20 best known values and matches the other 124. An ablation study shows that the multi-ratio seeding and the pair exchange account for most of this performance.
Figures & tables
Figure 1: Relative gap between a pure greedy construction ranked by cj/wjβ and the best known value, for β=0.50,0.55,…,3.00 . The usual ratio corresponds to β=1 .
Figure 2: Average gap (%) over 10 runs between the best value found so far and the best known value, as a function of CPU time, for SSGA-P and the variants without multi-ratio seeding and without pair exchange. For the Large-QKP instance the reference is the improved value 9,945,193. Dashed black lines show the best value obtained in the study of Hochbaum et al. (2025) (gap 0.0050% and 0.0026%). The QKBP values lie outside the plotted range (gaps of about 0.1% and 0.08%). Curves start once every run has completed its initial population, so the empty part on the left is the time needed to build it. Where curves coincide at zero gap (for example, the complete algorithm and the variant without pair exchange on 2000_50_5), the dotted line is drawn on top of the thick line; the horizontal axis is placed slightly below zero so that these curves remain visible. The vertical dash-dotted line marks the time limit, after which the final values are shown; the vertical axes are cut off so that the final phase is visible, and the early values of the variant without seeding lie above them.
Appendix figures & tables2 assets
Supplementary material from the paper’s appendix.
Appendix
Instance
BKV
Best
Average
Hits
tbest
IHEA SR
IHEA tb
GRASP SR
QKBP gap
1000_25_1
6,172,407
6,172,407
6,172,407.0
30
0.62
100
0.09
100
0.16
1000_25_2
229,941
229,941
229,941.0
30
0.22
100
0.09
66
0.00
1000_25_3
172,418
172,418
172,418.0
30
0.11
100
0.05
100
0.04
1000_25_4
367,426
367,426
367,426.0
30
0.14
100
0.07
100
0.00
1000_25_5
4,885,611
4,885,611
4,885,611.0
30
1.73
100
0.14
100
0.15
1000_25_6
15,689
15,689
15,689.0
30
0.04
100
0.02
100
1.27
Appendix
Table 11: Group II, per instance (SSGA-P: 30 runs).
Instance
BKV
Best
Average
Hits
tbest
IHEA SR
IHEA tb
QKBP gap
5000_25_1
23,667,450
23,667,450
23,667,450.0
30
6.16
100
1.97
0.01
5000_25_2
37,914,560
37,914,560
37,914,560.0
30
22.51
100
2.84
0.03
5000_25_3
68,295,820
68,295,820
68,295,820.0
30
13.87
100
2.67
0.00
5000_25_4
33,866,053
33,866,053
33,866,053.0
30
11.37
100
3.37
0.02
5000_25_5
9,533,115
9,533,115
9,533,105.1
27
21.50
100
3.23
0.08
5000_50_1
45,194,685
45,194,685
45,194,685.0
30
41.93
100
2.50
0.03
Appendix
Table 12: Group III, per instance (SSGA-P: 30 runs).
Combinatorial optimization finds the best feasible choices among discrete alternatives in routing, scheduling, graph problems, and resource allocation.
The one-dimensional bin packing problem (1D-BPP) is a canonical NP-hard combinatorial optimization problem with broad industrial applications. We propose RL-HGGA, a hybrid algorithm that integrates Falkenauer's Hybrid Grouping Genetic Algorithm (HGGA) with a tabular Q-learning controller. Rather than applying genetic operators at fixed probabilities, a Q-learning agent dynamically selects among eight macro-actions -- including BPCX crossover, light and heavy mutation, Martello-Toth local search, and population restart -- based on an eight-dimensional state representation encoding generation progress, stagnation level, optimality gap, average fitness, population variance, and average bin fill rate. The agent is trained with an epsilon-greedy policy over 400 episodes, with epsilon decaying to 0.05. Experiments on standard benchmark families (Falkenauer T/U, Scholl 1-3, Hard28) show that RL-HGGA achieves an average optimality gap of 0.95% -- competitive with HGGA (0.75%) and well below FFD (2.47%) -- while reducing mean computation time from 64.22 s to 1.29 s, a 50x speedup. These results demonstrate that learned adaptive operator selection can achieve near-HGGA solution quality at a fraction of the computational cost.
The quadratic assignment problem (QAP) is a fundamental NP-hard task that poses significant challenges for both traditional heuristics and modern learning-based solvers. Existing QAP solvers still struggle to achieve consistently competitive performance across structurally diverse real-world instances. To bridge this performance gap, we propose PLMA, an innovative permutation learning framework. PLMA features an efficient warm-started MCMC finetuning procedure to enhance deployment-time performance, leveraging short Markov chains to anchor the adaptation to the promising regions previously explored. For rapid exploration via MCMC over the permutation space, we design an additive energy-based model (EBM) that enables an O(1)-time 2-swap Metropolis-Hastings sampling step. Moreover, the neural network used to parameterize the EBM incorporates a scalable and flexible cross-graph attention mechanism to model interactions between facilities and locations in the QAP. Extensive experiments demonstrate that PLMA consistently outperforms state-of-the-art baselines across various benchmarks. In particular, PLMA achieves a near-zero average optimality gap on QAPLIB, exhibits remarkably superior robustness on the notoriously difficult Taixxeyy instances, and also serves as an effective QAP solver in bandwidth minimization.
Yicheng Pan, Ruisong Zhou, Haijun Zou +2
School of Mathematical Science, Peking University, Beijing 100871, China · State Key Laboratory of Mathematical Sciences, Institute of Computational Mathematics and Scientific/Engineering Computing, Academy of Mathematics and Systems Science, Chinese Academy of Sciences, Beijing 100190, China · Beijing International Center for Mathematical Research, Peking University, Beijing 100871, China
Multi-Agent Route Planning considers selecting vehicles, each associated with a single predefined route, such that route-level coverage utility is maximized while redundant spatial overlaps are limited. This paper gives a formal problem definition, proves NP-hardness by reduction from the Weighted Set Packing problem, and derives a Quadratic Unconstrained Binary Optimization formulation whose coefficients directly encode route utility rewards and pairwise overlap penalties. A single penalty parameter λ controls the coverage--overlap trade-off. We distinguish between a soft regime, which supports multi-objective exploration, and a hard regime, in which the penalty is strong enough to effectively enforce near-disjoint routes. We describe a practical pipeline for generating city instances, constructing candidate routes, building the QUBO matrix, and solving it with a binary quadratic programming baseline (Gurobi), simulated annealing, and D-Wave hybrid quantum annealing. Experiments on Barcelona instances with up to 10,000 vehicles reveal a clear coverage--overlap knee and show that Pareto-optimal solutions are mainly obtained under the hard-penalty regime, while D-Wave hybrid solvers and Gurobi achieve very similar objective values on matching configurations with only minor runtime differences as problem size grows.
Renáta Rusnáková, Martin Chovanec, Juraj Gazda
Department of Computers and Informatics, Faculty of Electrical Engineering and Informatics, Technical University of Košice, Letná 9, 042 00 Košice