TL;DR
Researchers have developed RL4Presolve, a reinforcement learning framework that automatically designs optimal "presolve" routines for Linear Programming (LP) solvers. By treating the sequence of problem-simplification steps as a Markov Decision Process, the system achieves significant speedups—often over 40%—on both open-source and commercial solvers across complex industrial benchmarks.
What Problem Does This Paper Address?
Linear Programming (LP) is the workhorse of modern industry, used to solve massive optimization problems in logistics, scheduling, and supply chain management. Before an LP solver tackles the core math, it runs a presolve routine: a series of "presolvers" that simplify the problem by removing redundant constraints or fixing variable values.
The challenge is that modern solvers rely on hard-coded, static presolve routines designed by human experts decades ago. These routines are "one-size-fits-all," but in reality, the best sequence of simplifications depends heavily on the specific structure of the input data. Designing these routines manually is a nightmare because the search space of possible sequences is effectively infinite, and different presolvers interact in complex, non-obvious ways.
Methods
The authors propose RL4Presolve, which formulates the design of presolve routines as a Reinforcement Learning (RL) task.
Key technical innovations include:
- Adaptive Action Sequences: Standard RL agents pick one action at a time. However, the time it takes for a neural network to "think" can sometimes outweigh the time saved by a single presolve step. To solve this, the authors' agent generates a sequence of presolvers (similar to "combos" in a video game or sentence generation in NLP) at each decision point. This balances high-quality decision-making with low computational overhead.
- Lightweight Feature Representation: Instead of using computationally expensive Graph Neural Networks (GNNs) to process the entire LP constraint matrix, they use a lightweight vector of 50 statistical features (e.g., equation degrees, number of variables, historical effects of previous steps).
- PPO Training: They use the Proximal Policy Optimization (PPO) algorithm, with a reward function defined as the negative of the total solving time ($r = -t$). This forces the agent to find the shortest path to a solution, accounting for both presolve time and final solving time.
Datasets
The framework was evaluated on eight diverse benchmarks:
- Industrial (Huawei Supply Chain): Master Production Schedule, Production Planning, and Supply/Demand Matching.
- Real-World Open Source: MIRPLIB (maritime inventory routing).
- Synthetic Benchmarks: Facility Location, Set Covering, Multicommodity Network Flow, and Generalized Network Flow.
These datasets vary significantly in scale and sparsity, providing a rigorous test for the agent's ability to adapt to different problem "flavors."
Key Insights and Ideas
- The Presolve Trade-off: More simplification isn't always better. The paper highlights that presolve itself consumes time. An ideal routine knows exactly when to stop—a point the authors call (P3). In some benchmarks (like "Set Covering"), the agent learned that turning off presolve entirely was actually the fastest strategy.
- Order Matters (P2): Presolvers are not independent; one simplification might "unlock" the conditions needed for another. The RL agent successfully captured these dependencies, outperforming routines that used the same presolvers but in a randomized order.
- Rule Extraction for Production: One of the most practical insights is that you don't need a GPU in a production environment. The authors showed they could extract simple, human-readable rules from the learned RL policies and hard-code them back into the solver, achieving most of the performance gains without the overhead of a neural network at runtime.
Key Results
- Significant Speedups: On the "Master Production Schedule" benchmark, RL4Presolve improved solving efficiency by 40.63% on the open-source Clp solver and 45.41% on the commercial OptVerse solver.
- Consistency: The agent consistently outperformed "Enhance" baselines (which used expert-selected subsets of presolvers) across almost all benchmarks.
- Generalization: Policies trained on smaller instances generalized well to much larger, "Large-Scale" versions of the same problem types.
- Economic Impact: The authors note that even a 1% optimization in these supply chain LPs can translate to millions of dollars in savings for companies like Huawei.
Limitations and Future Work
- Algorithm Specificity: While the learned routines generalized well to the Primal Simplex algorithm, they performed poorly when paired with Interior-Point methods. This suggests that the "optimal" presolve routine is tightly coupled to the underlying solver algorithm.
- Feature Gaps: The current lightweight features cannot identify certain complex redundancies (like dependent rows) that require high computational overhead to detect.
- Future Directions: The authors suggest extending this framework to Mixed-Integer Linear Programming (MILP), which is significantly more complex than standard LP and stands to benefit even more from intelligent routine design.
Summary updated