NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Exact Combinatorial Optimization with Graph Convolutional Neural Networks

Maxime Gasse, Didier Chételat, Nicola Ferroni, Laurent Charlin, Andrea Lodi

Combinatorial optimization problems are ubiquitous in real-world applications, from logistics and scheduling to circuit design. These are typically formulated as Mixed-Integer Linear Programs (MILPs), which are NP-hard. The standard approach to solving MILPs is the Branch-and-Bound (B&B) algorithm.

This paper introduces a novel Graph Convolutional Neural Network (GCNN) that learns to make high-quality "branching" decisions within MILP solvers. By representing optimization problems as bipartite graphs, the model mimics expensive expert rules at a fraction of the computational cost and successfully generalizes to unseen, large-scale problems.

The Challenge of Variable Selection

Branch-and-Bound works by recursively partitioning the search space into a tree. At each step, the algorithm must make a critical variable selection (or branching) decision: which variable should we split on next?

Branch-and-Bound Tree State
  • Strong Branching (SB) is an "expert" rule that makes excellent decisions, leading to very small search trees. However, it is computationally exhausting because it requires solving multiple sub-problems just to make a single decision.
  • Heuristics (like those in the state-of-the-art SCIP solver) are fast but often lead to massive, inefficient search trees.

The challenge is to create a branching policy with the intelligence of Strong Branching but the speed of a simple heuristic, while also ensuring it can generalize to problems much larger than those seen during training.

A Graph Convolutional Approach

To bridge this gap, the authors propose a novel approach using Imitation Learning and Graph Convolutional Neural Networks (GCNNs).

Bipartite Graph and GCNN Architecture
  1. Bipartite Graph Representation: Instead of treating a MILP as a flat list of features, the model represents it as a bipartite graph. One set of nodes represents the constraints, and the other represents the variables. An edge exists between a constraint and a variable if that variable appears in that constraint, naturally capturing the problem's underlying structure.
  2. GCNN Architecture: The model processes this graph using two interleaved "half-convolutions":
  3. Variable-to-Constraint: Information flows from variables to the constraints they participate in.
  4. Constraint-to-Variable: Information flows back to variables, allowing them to understand their role in the global problem.
  5. Imitation Learning: The GCNN is trained via behavioral cloning to act as a classifier. Given a state, it predicts which variable the Strong Branching expert would choose.
  6. Prenorm Layers: To handle varying scales of optimization problems and stabilize training, the authors introduce "prenorm" layers. These allow the network to use sum-convolutions (which can "count" how many constraints a variable is in) rather than just mean-convolutions, significantly improving performance on larger instances.

Key Insights and Results

The model was evaluated on four classic NP-hard problem benchmarks: Set Covering, Combinatorial Auction, Capacitated Facility Location, and Maximum Independent Set. For each, the model was trained on small ("Easy") instances and tested on significantly larger ("Medium" and "Hard") instances.

  • Structure Matters: Representing MILPs as graphs is the core breakthrough. Unlike previous ML approaches using fixed-length feature vectors, GCNNs are permutation-invariant and size-agnostic. The model can process a problem with 1,000 variables even if it was only trained on 100.
  • Classification over Regression: Previous work tried to predict the exact score Strong Branching assigns to every variable. This paper demonstrates that simply predicting the best variable (classification) is a more robust learning target.
  • State-of-the-Art Performance: The GCNN was significantly more accurate at mimicking Strong Branching than previous ML baselines like SVMRANK or Random Forests. Crucially, on "Hard" instances of Set Covering, the GCNN-based solver was faster than the default expert-designed rule in SCIP (Reliability Pseudocost). It produced search trees with far fewer nodes (~5,169 nodes vs. ~5,511 nodes), proving it successfully captured the intelligence of Strong Branching while maintaining competitive speed.

Limitations and Future Work

While the GCNN is much faster than Strong Branching, it still carries more inference overhead than a simple heuristic. The overall time reduction comes from shrinking the search tree, but if the GCNN takes too long at each node, total execution time may not improve.

Furthermore, while the model generalizes well to "Hard" instances, performance drops on "Huge" instances, suggesting a need for broader training distributions. Future work could explore tighter C++/CUDA integration to reduce inference overhead and applying similar GCNN architectures to other solver components, such as node selection or primal heuristics.

Summary updated

BibTeX
@inproceedings{gasse2019exact,
  author = {Maxime Gasse and Didier Chételat and Nicola Ferroni and Laurent Charlin and Andrea Lodi},
  title = {{Exact Combinatorial Optimization with Graph Convolutional Neural Networks}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2019},
  url = {https://openreview.net/forum?id=mCAo6-JRILc},
}
Figure