English

The Quadratic Bin Packing Problem: Exact Formulations and Algorithm

Optimization and Control 2026-04-06 v1

Abstract

In this article, we introduce and study the Quadratic Bin Packing Problem (QBPP), which generalizes the classical bin packing problem by introducing a fixed cost for each used bin and a pairwise cost (or profit) incurred whenever two items are packed together. Beyond its theoretical relevance, the QBPP is of practical interest due to its numerous real-world applications, mainly related to cluster analysis. To address the QBPP, we propose three compact mixed-integer linear programming (MILP) formulations, along with a set-partitioning formulation. For each compact model, we present an enhanced version with a strengthened continuous relaxation, while, for the set-partitioning formulation, we develop a tailored Branch-and-Price algorithm. Computational experiments on benchmark instances demonstrated that, while the enhanced compact formulations can be effectively solved by a standard MILP solver for small-sized instances, the Branch-and-Price approach delivered superior performance overall, especially on larger and more challenging instances.

Keywords

Cite

@article{arxiv.2604.03078,
  title  = {The Quadratic Bin Packing Problem: Exact Formulations and Algorithm},
  author = {Vítor Gomes Chagas and Alberto Locatelli and Flávio Keidi Miyazawa and Manuel Iori},
  journal= {arXiv preprint arXiv:2604.03078},
  year   = {2026}
}
R2 v1 2026-07-01T11:52:55.076Z