Random-Key Metaheuristic and Linearization for the Quadratic Multiple Constraints Variable-Sized Bin Packing Problem
Natalia A. Santos, Marlon Jeske, Antonio A. Chaves
TL;DR
The paper tackles the challenging QMC-VSBPP by (i) linearizing the original quadratic Model to enable strong lower-bound computation with Gurobi, and (ii) developing RKO-ACO, a continuous-domain Ant Colony Optimization within the Random-Key Optimization framework, augmented with online Q-learning parameter control, caching, and local search. The linearized formulation provides substantially tighter lower bounds and four optimal small-instance solutions, while RKO-ACO consistently matches or improves best-known solutions across all benchmark sets, delivering new upper bounds for large-scale instances. The combined approach demonstrates that exact linearization and adaptive metaheuristics can synergistically advance complex packing problems with multiple capacities and interaction costs. The results establish new reference values for future QMC-VSBPP studies and highlight the efficacy of evolutionary and random-key methods in quadratic packing contexts.
Abstract
This paper addresses the Quadratic Multiple Constraints Variable-Sized Bin Packing Problem (QMC-VSBPP), a challenging combinatorial optimization problem that generalizes the classical bin packing by incorporating multiple capacity dimensions, heterogeneous bin types, and quadratic interaction costs between items. We propose two complementary methods that advance the current state-of-the-art. First, a linearized mathematical formulation is introduced to eliminate quadratic terms, enabling the use of exact solvers such as Gurobi to compute strong lower bounds - reported here for the first time for this problem. Second, we develop RKO-ACO, a continuous-domain Ant Colony Optimization algorithm within the Random-Key Optimization framework, enhanced with adaptive Q-learning parameter control and efficient local search. Extensive computational experiments on benchmark instances show that the proposed linearized model produces significantly tighter lower bounds than the original quadratic formulation, while RKO-ACO consistently matches or improves upon all best-known solutions in the literature, establishing new upper bounds for large-scale instances. These results provide new reference values for future studies and demonstrate the effectiveness of evolutionary and random-key metaheuristic approaches for solving complex quadratic packing problems. Source code and data available at https://github.com/nataliaalves03/RKO-ACO
