Warm-starting active-set solvers using graph neural networks
Ella J. Schmidtobreick, Daniel Arnström, Paul Häusner, Jens Sjölund
TL;DR
The paper addresses speeding up quadratic programs by warm-starting a dual active-set solver with a structure-aware graph neural network that predicts the active constraint set $\mathcal{A}^*$. It represents QPs as bipartite graphs and uses a LEConv-based GNN to map problem structure to constraint activity, enabling fast, accurate predictions that feed into the DAQP solver. Empirical results on synthetic data and MPC-like tasks show consistent reductions in solver iterations and solve time, with strong generalization to larger problem sizes and performance comparable to an MLP baseline. The approach offers practical gains for real-time optimization in sequential settings such as model predictive control, while highlighting avenues for predicting the number of active constraints and extending to other problem classes.
Abstract
Quadratic programming (QP) solvers are widely used in real-time control and optimization, but their computational cost often limits applicability in time-critical settings. We propose a learning-to-optimize approach using graph neural networks (GNNs) to predict active sets in the dual active-set solver DAQP. The method exploits the structural properties of QPs by representing them as bipartite graphs and learning to identify the optimal active set for efficiently warm-starting the solver. Across varying problem sizes, the GNN consistently reduces the number of solver iterations compared to cold-starting, while performance is comparable to a multilayer perceptron (MLP) baseline. Furthermore, a GNN trained on varying problem sizes generalizes effectively to unseen dimensions, demonstrating flexibility and scalability. These results highlight the potential of structure-aware learning to accelerate optimization in real-time applications such as model predictive control.
