Abstract
Cutting planes (cuts) play an important role in solving mixed-integer linear programs (MILPs), as they significantly tighten the dual bounds and improve the solving performance. A key problem for cuts is when to stop cuts generation, which is important for the efficiency of solving MILPs. However, many modern MILP solvers employ hard-coded heuristics to tackle this problem, which tends to neglect underlying patterns among MILPs from certain applications. To address this challenge, we formulate the cuts generation stopping problem as a reinforcement learning problem and propose a novel hybrid graph representation model (HYGRO) to learn effective stopping strategies. An appealing feature of HYGRO is that it can effectively capture both the dynamic and static features of MILPs, enabling dynamic decision-making for the stopping strategies. To the best of our knowledge, HYGRO is the first data-driven method to tackle the cuts generation stopping problem. By integrating our approach with modern solvers, experiments demonstrate that HYGRO significantly improves the efficiency of solving MILPs compared to competitive baselines, achieving up to 31% improvement.
Introduction
Mixed-Integer Linear Programming (MILP) is a cornerstone of industrial optimization, used in diverse fields from logistics to electronic design. Modern solvers typically employ the branch-and-cut algorithm, which iteratively adds linear constraints, known as cutting planes (cuts), to tighten the linear programming (LP) relaxation of the problem. While cuts are essential for tightening dual bounds and reducing the search space, they introduce a significant trade-off. Adding too few cuts results in a loose relaxation and a massive search tree, while adding too many leads to a "bloated" problem that slows down each iteration.
Current state-of-the-art solvers like SCIP rely on hard-coded heuristics to decide when to stop cut generation. These heuristics often fail to capture instance-specific patterns, leading to suboptimal performance. This paper introduces HYGRO (Hybrid Graph Representation Model), the first data-driven reinforcement learning (RL) approach designed to learn adaptive stopping strategies.
Methods
HYGRO formulates the cut generation stopping problem as a reinforcement learning task. The core of the model is its ability to represent the dynamic state of the MILP solver.
State Representation
The model uses a bipartite graph to represent the MILP instance at any given round of cut generation. In this graph, one set of nodes represents variables ($V$) and the other represents constraints ($C$). Edges are weighted by the coefficients in the constraint matrix $A$. This representation allows the model to capture the structural relationships within the problem. Additionally, HYGRO incorporates static features, such as problem scale, to provide a comprehensive view of the instance.
Indirect Action Space and Training
To minimize computational overhead, HYGRO employs an indirect action space. Instead of making a binary stop/go decision after every cut, the model predicts a threshold for the maximum number of consecutive "stagnation rounds"—rounds where the dual bound improvement falls below a certain level. This approach significantly reduces the frequency of neural network calls.
The model architecture consists of a two-layer Graph Neural Network (GNN) with Principal Neighbourhood Aggregation (PNA). Due to the non-differentiable nature of the MILP solving process, the authors utilize Evolutionary Strategies (ES) for training, optimizing model parameters through black-box evaluation.
Results
The model was evaluated on a variety of NP-hard benchmarks, including Multiple Knapsack, Maximum Independent Set, and real-world datasets like Corlat and industrial "Anonymous" instances.
- Efficiency Gains: HYGRO achieved an average improvement of 22% on classical benchmarks and up to 31% on specific datasets compared to default SCIP settings.
- Robustness: It consistently outperformed eight baseline strategies, including fixed-round heuristics and "always cut" approaches.
- Generalization: HYGRO demonstrated strong generalization capabilities, where models trained on small instances maintained high performance when applied to significantly larger problems of the same type.
- Overhead Reduction: The indirect threshold-learning method reduced computational overhead by over 70% compared to direct decision-making models.
Discussion and Conclusion
The success of HYGRO highlights the value of instance-specific intelligence in combinatorial optimization. By recognizing that different problem types require different stopping points, HYGRO avoids the pitfalls of "one-size-fits-all" heuristics.
While the training process via ES is computationally demanding, the resulting model provides a lightweight and effective guidance mechanism for solvers. Future work may explore more dynamic handling of nodes deeper in the search tree and the integration of such data-driven strategies into commercial, closed-source solvers to further push the boundaries of MILP efficiency.
Summary updated