Abstract
Mixed Integer Linear Programming (MILP) is a fundamental tool in industrial optimization, yet modern solvers like SCIP require extensive parameter tuning to achieve peak performance. We present a Graph Neural Network (GNN) approach for instance-wise algorithm configuration, which treats the selection of solver settings as a supervised learning task on bipartite graphs. By representing MILP instances as graphs and employing instance-wise standardization of performance metrics, our model effectively learns to rank configurations for unseen problems. Our approach achieved significant improvements in the primal-dual integral across multiple benchmarks, winning the student leaderboard and placing third overall in the NeurIPS 2021 ML4CO competition.
Introduction
The efficiency of Mixed Integer Linear Programming (MILP) solvers is highly dependent on their configuration. With over 2,500 parameters in solvers like SCIP, manual tuning is often impractical and instance-specific. A configuration optimized for one problem class, such as logistics, may perform poorly on another, such as network routing. This work addresses the challenge of instance-wise algorithm configuration: predicting the most effective solver settings for a specific, previously unseen MILP instance to minimize the primal-dual integral—a metric representing how quickly a solver finds high-quality solutions.
Methodology
Our pipeline consists of three main components: configuration space reduction, a GNN-based architecture, and a specialized standardization technique.
Configuration Space Reduction
To manage the exponential search space of over 2,500 parameters, we focused on high-level "emphasis" settings (presolving, heuristics, separation, and general emphasis). Using a greedy search algorithm, we pruned the resulting 353 valid combinations down to a representative subset of 40–60 highly effective configurations.
GNN Architecture
We utilize a GNN architecture designed to handle MILPs of varying sizes while remaining invariant to the ordering of variables and constraints. Each problem is represented as a bipartite graph where nodes correspond to variables and constraints. The GNN employs four convolutional layers followed by both GlobalMax and Attention pooling to generate a graph embedding. This embedding is then passed through dense layers to predict the performance of all candidate configurations simultaneously.
Instance-wise Standardization
A critical component of our training process is the standardization of target labels (primal-dual integrals) for each instance individually. Rather than predicting absolute solving times—which are often discontinuous and difficult to model—this approach forces the GNN to focus on the relative ranking of configurations for a specific problem. This "Relative over Absolute" strategy ensures the model learns the performance gap between settings rather than the absolute difficulty of the instance.
Experiments and Results
We evaluated our approach on three benchmarks from the NeurIPS 2021 ML4CO competition: Item Placement (10,000 instances), Load Balancing (10,000 instances), and an Anonymous dataset of 117 heterogeneous instances.
The GNN-based model demonstrated substantial improvements over SCIP's default settings across all benchmarks:
- Item Placement: Improved the primal-dual integral by 12%, outperforming defaults on 66% of test instances.
- Load Balancing: Achieved a 35% improvement, winning on 95% of test instances.
- Anonymous: Yielded an 8% improvement using a simplified clustering approach tailored for the smaller dataset size.
These results secured our team 3rd place overall out of 15 participants and 1st place on the student leaderboard.
Conclusion
Our results demonstrate that GNNs are highly effective at capturing the structural properties of MILP instances for algorithm configuration. By focusing on relative performance and using bipartite graph representations, we can significantly outperform default solver settings. However, limitations remain: the model is currently static, selecting configurations only at the start of the solving process, and its performance is capped by the quality of the initial configuration pool. Future work should explore combining this GNN approach with online methods that adapt parameters dynamically as the solver runs.
Summary updated