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

A Survey for Solving Mixed Integer Programming via Machine Learning

Jiayi Zhang, Chang Liu, Junchi Yan, Xijun Li, Hui-Ling Zhen, Mingxuan Yuan

TL;DR

Mixed Integer Programming (MIP) is the backbone of industrial optimization, but its NP-hard nature makes it computationally expensive. This survey explores how machine learning is transforming the field by replacing rigid, hand-crafted heuristics with data-driven models that learn to solve complex optimization problems faster and more efficiently.

What Problem Does This Paper Address?

Mixed Integer Programming (MIP) is a versatile framework for modeling real-world problems like logistics, scheduling, and power grid management. However, solving MIPs exactly is NP-hard, meaning the time required can grow exponentially with problem size.

Modern solvers (like Gurobi or SCIP) rely on a "Branch-and-Bound" (B&B) framework. This process involves making millions of sequential decisions: which variable to branch on, which subproblem to explore next, and which "cuts" (linear constraints) to add to simplify the search space. Traditionally, these decisions are made using human-designed heuristics. While effective, these heuristics are "one-size-fits-all" and fail to exploit the unique structural patterns present in specific classes of data. The authors survey how Machine Learning (ML) can automate and optimize these decision-making processes to create adaptive, high-performance solvers.

Figure 1: Use branch-and-bound to solve an integer linear programming minimization. (Credit to [He et al., 2014])

Methods

The paper categorizes ML-enhanced MIP solving into two primary tracks:

  1. Exact Algorithms (Branch-and-Bound/Cut):
    • Learning to Branch: Instead of using expensive rules like "Strong Branching" at every step, researchers use Imitation Learning to train models to mimic these rules at a fraction of the cost.
  2. Graph Representations: A key innovation is representing MIP instances as bipartite graphs (connecting variables to constraints) or tripartite graphs (adding objective function nodes). This allows Graph Convolutional Networks (GCNs) to capture the underlying problem structure regardless of how variables are indexed.
  3. Cutting Plane Selection: Reinforcement Learning (RL) is used to sequentially select the most effective cuts to tighten the problem space without making it computationally overwhelming.
Figure 2: Transform an MIP instance to a bipartite graph. The variables (in green) correspond to one side and the constraints (in red) refers to the other. (Credit to [Nair et al., 2021])
  1. Heuristic Algorithms:
    • Large Neighborhood Search (LNS): ML models learn to identify promising "neighborhoods" around a current solution to search for improvements, speeding up the discovery of high-quality feasible solutions.
  2. Feasibility Pump (FP): RL agents are trained to guide the search for an initial integer-feasible solution, which is often the hardest part of the process.
  3. Predict and Pick: Some approaches use ML to directly predict variable values or to decide which specific heuristic is best suited for a given problem instance.

Datasets

As a survey, the paper references a variety of benchmarks used across the cited literature:

  • MIPLIB: The standard, diverse library for mixed-integer programming instances.
  • Domain-Specific Data: Datasets for vehicle routing (VRP), job-shop scheduling, bin packing, and electric grid unit commitment.
  • Synthetic Benchmarks: Randomly generated instances of NP-hard problems (like the Traveling Salesperson Problem) used primarily for training RL agents.

Key Insights and Ideas

  • Structural Awareness via GNNs: Moving from hand-crafted features to Graph Neural Networks (GNNs) was a breakthrough. By treating the MIP as a graph, solvers can finally "see" the problem structure in a way that is invariant to trivial changes like reordering constraints.
  • The Efficiency Trade-off: A major insight is the need for hybrid architectures. A "heavy" GNN might be used at the root of the search tree where decisions are most impactful, while lighter, faster Multi-Layer Perceptrons (MLPs) handle the millions of decisions deeper in the tree.
  • Imitation vs. Discovery: While imitation learning is excellent for speeding up existing solvers by mimicking expensive experts, Reinforcement Learning offers the possibility of discovering branching strategies that outperform anything humans have ever designed.

Key Results

  • Tree Size Reduction: ML-based branching policies can reduce the number of nodes explored in a B&B tree by orders of magnitude compared to standard heuristics like pseudo-cost branching.
  • Speedups in Practice: Integrated frameworks like "Neural Diving" (from DeepMind) have demonstrated the ability to find high-quality solutions significantly faster than state-of-the-art open-source solvers like SCIP.
  • Generalization Success: Some GNN-based models have shown a surprising ability to generalize, performing well on problem instances much larger than those they were trained on.

Limitations and Future Work

  • The "Black Box" Problem: ML models lack the theoretical guarantees of traditional algorithms. Ensuring that an ML-enhanced solver remains "exact" (guaranteed to find the true optimum) requires careful integration.
  • Generalization Gaps: A model trained on scheduling problems might fail on routing problems. Developing "foundation models" for optimization that generalize across domains remains a major challenge.
  • Hardware Bottlenecks: Most solvers run on CPUs, while ML models thrive on GPUs. The communication overhead between the two can sometimes negate the algorithmic speedups.
  • Future Direction: The authors advocate for a "mutual embrace" where traditional solver logic and ML components are co-designed from the ground up, rather than just plugging ML into existing legacy frameworks.

Summary updated

BibTeX
@inproceedings{zhang2022survey,
  author = {Jiayi Zhang and Chang Liu and Junchi Yan and Xijun Li and Hui-Ling Zhen and Mingxuan Yuan},
  title = {{A Survey for Solving Mixed Integer Programming via Machine Learning}},
  booktitle = {Neurocomputing},
  year = {2022},
  url = {https://openreview.net/forum?id=TohiP_cqh0},
}
Figure