All models

Graph Convolutional Policy for MIP Branching

A graph convolutional policy that picks branching variables in branch-and-bound for mixed-integer linear programs.

Graphs and geometry · 63 operations Checked

100%

Showing the top corner; full diagram not loaded yetShowing a small copy; full diagram not loaded yetLarge diagram, not loaded yet

Open SVG

Loading diagram (42 KB)

Open in a new tab

Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.

At a glance

Parameters
64K
Operations
63
Framework
PyTorch
Recurrent
No
Published
NeurIPS 2019
Cited by
285 (as of 26 October 2026)
Authors
Maxime Gasse, Didier Chételat, Nicola Ferroni and others
License
MIT
Checked
Passed: the trace was replayed operation by operation and matched the model's own output for this input.

Files

The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.

Details
Stable ID
m17100
Graph hash
eef6b2eafe2a92636e6558215df9a961244fce05aecd9735e6aceb9090814138
Skeleton hash
49a73ecff01910fddcb352866810c548e168c07a0ce0bb82903d883a01474620
Architecture hash
0277575e5f72f8407d7f139ed843c9c01059c68b35103ba2a7d5284e202d2480
Diagram SHA-256
644a402975a94631dc0ba4fe6f65a121621d90f067551f9b9c19f195bef1fc69
TorchLens version
2.36.0
Renderer
graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
Check
Forward pass replayed in PyTorch

What it is

This graph convolutional neural network (GCNN) learns variable selection policies for branch-and-bound, the method used to solve mixed-integer linear programs exactly. Choosing which fractional variable to branch on can have a very significant impact on the size of the resulting search tree.

The state of the solver is encoded as a bipartite graph with node and edge features, with constraints on one side and variables on the other. The model performs a single graph convolution in the form of two interleaved half-convolutions, one pass from variables to constraints and one from constraints to variables. It then discards the constraint nodes and applies a final 2-layer perceptron with a masked softmax to the variable nodes, producing a probability distribution over the candidate branching variables. The convolutions are un-normalized, because normalizing by the number of neighbors would leave the model unable to count in how many constraints a variable appears. A prenorm layer after each summation applies an affine transformation whose parameters are set from the training dataset and fixed before the actual training.

The policy is trained via imitation learning from the strong branching expert rule. The paper evaluates it on four classes of NP-hard problems: set covering, combinatorial auction, capacitated facility location and maximum independent set. This model follows the authors' reimplementation with the Ecole library, Pytorch and Pytorch Geometric.

Key idea. The paper encodes branch-and-bound variable selection as a graph convolutional network over the variable-constraint bipartite graph of a mixed-integer linear program, trained by imitating strong branching.

  • learn2branch
  • gcnn branching policy
  • learning to branch
  • branch-and-bound
  • mixed-integer linear programming
  • milp
  • variable selection policy
  • graph convolutional neural network
  • strong branching imitation

AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.

Cite the paper

@misc{gasse2019exactcombinatorialoptimizationgraph,
      title={Exact Combinatorial Optimization with Graph Convolutional Neural Networks}, 
      author={Maxime Gasse and Didier Chételat and Nicola Ferroni and Laurent Charlin and Andrea Lodi},
      year={2019},
      eprint={1906.01629},
      archivePrefix={arXiv},
      primaryClass={cs.LG},
      url={https://arxiv.org/abs/1906.01629}, 
}