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. 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: The "Goldilocks" Dilemma of Cutting Planes
Mixed-Integer Linear Programming (MILP) is a cornerstone of industrial optimization, essential for applications ranging from flight scheduling to power grid management. Modern solvers typically use a "Branch-and-Cut" algorithm. This involves adding linear constraints, known as "cuts," to tighten the search space and improve the dual bound.
However, solvers face a critical trade-off:
- Too few cuts: The search space remains loose, forcing the solver to explore an exponentially large number of nodes in the search tree.
- Too many cuts: The mathematical model becomes bloated, significantly increasing the computational cost of solving the linear programming relaxation at every step.
Currently, most state-of-the-art solvers (like SCIP) rely on hard-coded heuristics to decide when to stop adding cuts. These "one-size-fits-all" rules often fail to exploit the unique structural patterns of specific problem domains, leading to suboptimal solving times.
Methodology: The HYGRO Framework
To address this, we introduce HYGRO (Hybrid Graph Representation Model), the first data-driven approach to the cut generation stopping problem. We formulate the decision as a Reinforcement Learning (RL) task.
1. Indirect Action Space
A key innovation is the use of an "indirect" action space. Instead of making a binary "stop/continue" decision after every single cut—which would introduce massive computational overhead—HYGRO predicts a stopping condition. Specifically, the model learns to set a dynamic threshold for "stagnation rounds." This threshold defines the maximum number of consecutive rounds allowed where adding cuts fails to significantly improve the objective value.
2. Architecture and Features
HYGRO captures the state of a MILP instance through a hybrid approach:
- Dynamic Features: A bipartite graph represents the relationships between constraints and variables. This is processed using a two-layer Graph Convolutional Network (GCN) with Principal Neighbourhood Aggregation (PNA) to extract structural features.
- Static Features: A vector of intrinsic attributes, such as problem scale and variable types, which remain constant throughout the solving process.
3. Training via Evolutionary Strategies (ES)
Rather than standard gradient descent, we employ Evolutionary Strategies for training. This treats the solver as a black box, allowing us to optimize directly for solving performance (e.g., time and gap integrals) without needing to differentiate through the complex, non-differentiable internals of a MILP solver.
Key Results and Performance
We evaluated HYGRO across six NP-hard benchmarks, including classical problems (Knapsack, Set Covering) and real-world industrial datasets (Corlat, MIK, Anonymous).
Efficiency Gains
HYGRO consistently outperformed SCIP’s default heuristics. On classical datasets, it achieved an average efficiency improvement of 22%, peaking at 31.6% on the Knapsack benchmark. On harder industrial datasets, it maintained a solid 10% improvement.
Generalization and Overhead
The model demonstrated robust "zero-shot" generalization. For instance, a model trained on small Set Covering instances (1000 variables) provided speedups of up to 21% when applied to instances twice as large. Furthermore, the indirect decision-making approach reduced model inference overhead by over 70% compared to direct step-by-step decision methods.
Conclusion
HYGRO represents a significant step forward in integrating machine learning with traditional optimization solvers. By learning to parameterize stopping heuristics based on problem structure, it avoids the pitfalls of static rules and delivers substantial performance gains across diverse MILP applications.
Summary updated