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

Local Rapid Learning for Integer Programs

Timo Berthold, Peter J. Stuckey, Jakob Witzig

Abstract

Conflict learning algorithms are an important component of modern Mixed Integer Programming (MIP) and Constraint Programming (CP) solvers. However, strong conflict information is typically gained by depth-first search, which is the natural mode for CP but not for MIP. Rapid Learning is a hybrid approach where a CP search is applied at the root to learn information for the subsequent MIP solve. This paper extends Rapid Learning to general integer programs and introduces "Local Rapid Learning," where the CP search is applied repeatedly at local nodes within the MIP search tree. To manage computational overhead, we present six heuristic criteria to predict when local rapid learning will be successful. Our experiments show significant speedups, particularly on highly dual degenerate problems.

Introduction

Solving Mixed Integer Programs (MIPs) is a cornerstone of industrial optimization. However, solvers often face a bottleneck: they spend significant time solving Linear Programming (LP) relaxations to find dual bounds. While powerful, this approach is slow at discovering "conflicts"—logical contradictions that prove a specific branch of the search tree is a dead end.

In contrast, Constraint Programming (CP) excels at rapidly exploring deep into a search tree using logic-based propagation to find these conflicts, though it lacks the strong global guidance of MIP. Previous "Rapid Learning" techniques ran a quick CP search only at the root node and were limited to binary problems. This research addresses these gaps by extending the logic to general integer variables and implementing a mechanism to trigger CP "scouts" locally throughout the search tree.

Methodology: Local Rapid Learning

The proposed algorithm, Local Rapid Learning, is implemented within the SCIP optimization suite. When the MIP solver reaches a specific node, it pauses to launch a "sub-SCIP" instance configured as a pure CP solver. This sub-solver utilizes:

  • Depth-First Search: To quickly identify infeasible subproblems.
  • Inference Branching: A logic-based branching rule instead of traditional LP-based branching.
  • Conflict Analysis: Generating "no-goods" (new constraints) that explain why a path failed.

Heuristic Triggers

To prevent the computational overhead of sub-solves from outweighing the benefits, the authors developed six heuristic criteria to predict success:

  1. Dual Bound Improvement: Trigger if the global bound has stagnated.
  2. Leaves Pruned: Trigger if most nodes are being closed due to infeasibility.
  3. LP Degeneracy: Trigger if the LP solutions are "blurry" (many variables have zero reduced cost).
  4. Local Objective Function: Trigger if the local subproblem has a constant objective.
  5. Number of Solutions: Trigger if no feasible solution has been found yet.
  6. Strong Branching Improvements: Trigger if expensive branching steps aren't yielding sufficient information.

Experimental Setup

The algorithm was evaluated on the MMM-IP test set, comprising 71 pure integer programming instances from MIPLIB 3, 2003, and 2010. To account for performance variability, each instance was tested with five different random seeds, resulting in 355 total observations.

Key Results and Insights

  • Degeneracy as a Signal: The most effective trigger for Rapid Learning is LP Degeneracy. When the mathematical surface of the problem is flat (degenerate), the MIP solver's LP-based guidance fails. This is precisely where the CP scout’s logical propagation is most effective.
  • Primal Discovery: While designed to find dual information (conflicts), Rapid Learning frequently discovers feasible primal solutions. These "accidental" discoveries proved to be highly impactful when transferred back to the main solver.
  • Performance Gains: Using the Degeneracy criterion led to an average 7% speedup across the benchmark set. On instances where at least 80% of variables were dual degenerate, the algorithm reduced solving time by 28.8%.
  • Search Efficiency: The number of nodes explored by the main MIP solver decreased by approximately 15% when using the best heuristic triggers.

Conclusion

Local Rapid Learning effectively bridges the gap between CP-style logical inference and MIP-style mathematical optimization. By using targeted heuristics—specifically LP degeneracy—solvers can decide when to deploy CP scouts to prune the search tree more effectively. Future work includes extending this framework to Mixed Integer Programs with continuous variables and utilizing parallelization to eliminate the overhead of switching between the main solver and the CP sub-solves.

Summary updated

BibTeX
@inproceedings{berthold2019local,
  author = {Timo Berthold and Peter J. Stuckey and Jakob Witzig},
  title = {{Local Rapid Learning for Integer Programs}},
  booktitle = {CPAIOR},
  year = {2019},
  url = {https://openreview.net/forum?id=OSN6uxDYDMS},
}
Figure