Abstract
Mixed Integer Programming (MIP) is a fundamental tool for solving complex logistical and industrial optimization problems. While classical solvers rely on hand-crafted heuristics to navigate exponentially large search spaces, these generic approaches often fail to exploit the repetitive structure of real-world problem instances. This paper introduces a "Neural Solver" that augments the branch-and-bound algorithm with deep learning. By replacing traditional heuristics with Neural Diving for variable assignment and Neural Branching for variable selection, the proposed method achieves up to a 10,000x improvement in optimality gaps and significant speedups on large-scale industrial datasets.
Introduction
Mixed Integer Programs (MIPs) are a class of NP-hard optimization problems essential for managing power grids, routing logistics, and packing data centers. Classical solvers like SCIP, CPLEX, and Gurobi use complex heuristics to guide their search. However, these heuristics are designed for general-purpose use and do not adapt to the specific distributions of problems encountered in practice. This research explores whether machine learning can be used to discover application-specific heuristics from historical data, thereby customizing solvers for recurring real-world tasks.
Methodology: The Neural MIP Solver
The authors propose a hybrid approach that integrates deep learning into the open-source SCIP solver. The core idea is to represent MIPs as bipartite graphs—where variables and constraints form two distinct sets of nodes—and process them using Graph Convolutional Networks (GCNs).
The system consists of two primary neural components:
- Neural Diving: A learned primal heuristic that uses a generative model to predict high-quality partial assignments for integer variables. By fixing these variables, the solver focuses on a smaller, more manageable sub-MIP. The generative nature of the model allows for parallel sampling of multiple diverse sub-problems.
- Neural Branching: A policy trained via imitation learning to mimic "Full Strong Branching" (FSB), an effective but computationally expensive variable selection strategy.
To overcome the bottleneck of generating training data for large-scale MIPs, the researchers developed a GPU-accelerated batch Linear Programming (LP) solver using the Alternating Direction Method of Multipliers (ADMM). This innovation allowed for the generation of expert training data orders of magnitude faster than traditional CPU-based methods.
Experimental Evaluation
The Neural Solver was evaluated on a diverse set of large-scale datasets, including Google production packing, electric grid optimization, and neural network verification.
The results demonstrate substantial improvements over a heavily tuned SCIP baseline:
- Gap Reduction: The combined Neural Solver achieved gap reductions of 1.5x, 2x, and up to 10,000x on the largest datasets.
- Efficiency: On Google Production Packing, the solver reached a 10% optimality gap five times faster than the baseline.
- Generalization: Surprisingly, the model also improved performance on MIPLIB, a heterogeneous benchmark, suggesting that the learned heuristics capture fundamental structural properties of MIPs beyond specific domains.
Conclusion and Future Work
The integration of neural networks into MIP solvers represents a significant step toward automated, data-driven optimization. While Neural Diving excels at finding high-quality solutions quickly, future work aims to improve end-game optimality through reinforcement learning. Additionally, applying similar graph-based learning to "cutting planes" could further enhance the efficiency of modern solvers. By leveraging historical data, the Neural Solver transforms optimization from a static search into a learning process that improves with experience.
Summary updated