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

Accelerating Primal Solution Findings for Mixed Integer Programs Based on Solution Prediction

Jian-Ya Ding, Chao Zhang, Lei Shen, Shengyin Li, Bing Wang, Yinghui Xu, Le Song

Introduction

Mixed Integer Programming (MIP) is a fundamental tool in combinatorial optimization, essential for solving complex industrial problems ranging from logistics to resource scheduling. Despite its utility, MIP is NP-hard, and traditional solvers often struggle with large-scale instances. A common observation in industrial applications is that solvers frequently encounter instances of the same problem type with varying data but similar underlying structures. Traditional solvers, however, treat each new instance as a "blank slate," failing to leverage historical solution patterns.

This paper introduces a machine learning framework that utilizes Graph Convolutional Networks (GCNs) to predict the values of binary variables in MIPs. By embedding these predictions into solvers via local branching cuts, the framework achieves significant speedups in finding high-quality primal solutions.

Methodology: The Tripartite Graph Framework

Tripartite Graph Representation

A core innovation of this work is the representation of MIP instances as tripartite graphs. Unlike traditional flat feature vectors, this graph structure captures the sparse and complex relationships between variables, constraints, and the objective function.

Mapping a Mixed Integer Program (MIP) to a tripartite graph representation.

As shown in the figure above, the model maps the mathematical formulation into three distinct node types:

  1. Variables (Var): Representing the decision variables ($x_n$).
  2. Constraints (Cons): Representing the linear inequalities ($a_{mn}x_n \leq b_m$).
  3. Objective (Obj): Representing the cost coefficients ($c_n$) to be minimized.

Graph Convolutional Network with Attention

The framework employs a GCN to learn embeddings for these nodes through an iterative message-passing process. An attention mechanism is integrated to weigh the importance of different constraints and coefficients, allowing the model to focus on the most influential components of the problem structure.

The four-step message-passing process within the tripartite graph architecture.

The message-passing occurs in four distinct steps, as illustrated above, facilitating information flow from variables to the objective and constraints, and back to the variables to refine their predicted probabilities.

Solution Prediction and Solver Integration

To train the model, the authors use a "proximity search" method to identify high-quality feasible solutions. Variables that remain stable across multiple solutions are used as training labels. The GCN then predicts the probability that a binary variable will equal 1 in an optimal or near-optimal solution.

These predictions are integrated into the solver through local branching cuts. This mathematical constraint restricts the solver's search to a neighborhood close to the predicted solution. This approach can be utilized as a heuristic for rapid solution finding (GCN-A) or as a branching rule for exact solving (GCN-E).

Experimental Results

The framework was evaluated across eight NP-hard problem types, including the Traveling Salesman Problem (TSP), Vehicle Routing Problem (VRP), and Set Covering (SC). Key findings include:

  • Significant Speedup: The framework achieved an average 10x acceleration in finding high-quality primal solutions compared to state-of-the-art open-source solvers like SCIP.
  • Improved Primal Gaps: The GCN-A approach consistently outperformed SCIP’s most aggressive heuristics within a 1,000-second time limit.
  • High Accuracy: For several problem types, the model achieved nearly 100% accuracy when predicting the most "stable" variables.
  • Scalability: Models trained on small-scale instances demonstrated a remarkable ability to generalize and provide useful predictions for much larger, more difficult instances.

Conclusion and Future Directions

This research demonstrates that learning structural correlations through GNNs can drastically narrow the search space for MIP solvers. While currently focused on binary variables, future work aims to extend this methodology to general integer and continuous variables. Additionally, addressing the risk of infeasibility caused by false predictions in highly constrained environments remains a critical area for further refinement.

Summary updated

BibTeX
@inproceedings{ding2020accelerating,
  author = {Jian-Ya Ding and Chao Zhang and Lei Shen and Shengyin Li and Bing Wang and Yinghui Xu and Le Song},
  title = {{Accelerating Primal Solution Findings for Mixed Integer Programs Based on Solution Prediction}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2020},
  doi = {10.1609/aaai.v34i02.5503},
}
Figure