A Context-Aware Cutting Plane Selection Algorithm for Mixed-Integer Programming

Mark Turner, Timo Berthold, Mathieu BesançonarXiv 2023

Abstract

The current cut selection algorithm used in mixed-integer programming solvers has remained largely unchanged since its creation. In this paper, we propose a set of new cut scoring measures, cut filtering techniques, and stopping criteria, extending the current state-of-the-art algorithm and obtaining a 5% performance improvement for SCIP over the MIPLIB 2017 benchmark set.

Introduction

Mixed-Integer Linear Programming (MILP) is a critical tool for solving complex optimization problems in logistics, energy, and scheduling. Most modern solvers utilize a "branch-and-cut" framework, where cutting planes (cuts) are added to tighten the search space. While generating cuts is computationally inexpensive, selecting the most effective ones is a significant challenge. Adding too many or poor-quality cuts can lead to "bloated" Linear Programming (LP) relaxations, slowing down the solver.

For decades, solvers have relied on static heuristics. While recent research has explored Machine Learning (ML) models for cut selection, these often struggle with generalizability or high computational overhead. This paper proposes a middle ground: a robust, transparent selection algorithm that leverages the solver's own internal "context" to make better decisions.

Methodology

The proposed framework revamps three pillars of the cut selection process:

1. Context-Aware Scoring

Instead of evaluating cuts in isolation, the algorithm incorporates data from other solver components:

  • Pseudo-cost Scoring: Uses historical success rates of variables from the branching process to predict objective function improvement.
  • Lock Scoring: Analyzes "locks" (constraints restricting a variable) to prioritize cuts that affect either highly constrained or relatively "loose" variables.
  • Sparsity Scoring: Rewards sparse cuts (those with fewer non-zero coefficients), which are faster for the solver to process.

2. Advanced Filtering

  • Density Filtering: The algorithm discards any cut exceeding a specific density threshold (e.g., 40% non-zero entries) before the main selection begins.
  • Parallelism Penalties: Rather than binary rejection of parallel cuts, the algorithm applies a score penalty, allowing for a more nuanced selection of similar but potentially useful cuts.

3. Dynamic Stopping Criteria

Instead of a hard limit on the number of cuts, the authors limit the total number of non-zeros added to the LP. This ensures the solver's memory isn't overwhelmed by a few massive, complex cuts.

Experimental Setup

The algorithm was tuned using an automated configuration tool (SMAC) on a diverse training set of 40 instances. Evaluation was conducted on the full MIPLIB 2017 benchmark set, the industry standard for MILP solver performance.

Results and Discussion

The new algorithm was implemented in SCIP 8.0.3 and compared against default settings.

Performance summary on the MIPLIB 2017 benchmark set.

As shown in the summary table, the approach achieved a 5% improvement in solve time (ratio of 0.95) and an 8% reduction in search nodes (ratio of 0.92). Additionally, the algorithm solved 14 more instances than the default configuration within the time limit.

Distribution of relative solve time improvements vs SCIP default.

The distribution of results across instance-seed pairs highlights a clear shift toward improved performance. A key insight from the study was the "sparsity consensus": filtering out dense cuts (above 40-50% density) was almost universally beneficial across diverse problem types. Furthermore, moving from "hard" filters to "soft" penalties for parallel cuts allowed the solver to retain more useful information.

Conclusion

By recycling internal solver information like pseudo-costs and implementing smarter filtering, this context-aware algorithm provides a significant performance boost to state-of-the-art MILP solvers. While the current study focused on instances with moderate solve times, the results are statistically significant and have led to the algorithm's integration into the official SCIP optimization suite. Future work will explore how these measures behave on much larger, multi-day problem instances.

Summary updated

BibTeX
@misc{turner2023context,
  author = {Mark Turner and Timo Berthold and Mathieu Besançon},
  title = {{A Context-Aware Cutting Plane Selection Algorithm for Mixed-Integer Programming}},
  year = {2023},
  eprint = {2307.07322},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2307.07322},
}
Figure