Abstract
Mixed Integer Programs (MIP) are solved exactly by tree-based branch-and-bound search. However, various components of the algorithm involve making decisions that are currently addressed heuristically. Instead, I propose to use machine learning (ML) approaches such as supervised ranking and multi-armed bandits to make better-informed, input-specific decisions during MIP branch-and-bound. My thesis aims at improving the overall performance of MIP solvers. To illustrate the potential for ML in MIP, I have so far tackled branching variable selection, a crucial component of the search procedure, showing that ML approaches for variable selection can outperform traditional heuristics.
Introduction
Mixed Integer Programming (MIP) is a cornerstone of discrete optimization, utilized extensively in logistics, scheduling, and resource allocation. While modern MIP solvers are highly sophisticated, their core search mechanism—the branch-and-bound algorithm—relies heavily on hand-tuned heuristics. These "rules of thumb" are designed by human experts to perform well on average across a wide range of problems, but they often lack the "instance-awareness" necessary to adapt to the specific structure of a unique problem. This research proposes a paradigm shift: replacing these static heuristics with data-driven machine learning models that learn to make optimal decisions on-the-fly.
The Branching Challenge
One of the most critical decisions in the branch-and-bound process is branching variable selection. At any given node in the search tree, the solver must decide which fractional variable to split on to create new branches. A poor choice can lead to an exponentially large search tree, while a good choice can prune the search space significantly.
Currently, solvers face a trade-off between two extremes:
- Strong Branching (SB): Highly accurate but computationally expensive, as it performs trial optimizations for each candidate variable.
- Pseudocost Branching (PC): Fast and computationally cheap, but often inefficient as it relies on historical averages that may not reflect the current node's state.
Proposed Methodology
This research explores two primary machine learning avenues to bridge the gap between efficiency and accuracy in branching.
1. Supervised Learning (SB+ML)
The goal of the SB+ML approach is to develop a "fast surrogate" for Strong Branching. By collecting data on decisions made by SB—including variable features and the resulting labels—we train a learning-to-rank model.
Crucially, this approach treats variable selection as a ranking problem rather than a regression problem. Instead of predicting the exact numerical improvement a variable might provide, the model learns to identify which variable is better than the others. This makes the model more robust and easier to train. Furthermore, this learning can occur "on-the-fly," allowing the solver to gather data from the early stages of a specific search and apply that knowledge to the remainder of the same problem instance.
2. Online Learning via Multi-Armed Bandits
Alternatively, variable selection can be framed as a reinforcement learning problem. In this context, each variable is treated as an "arm" in a multi-armed bandit (MAB) framework. The solver must balance exploitation (selecting variables that have historically performed well) with exploration (testing less-used variables to discover potential benefits). The research introduces a "risk-averse" MAB rule (RA-VAR) to provide a more nuanced selection process that accounts for the volatility of variable performance across different parts of the tree.
Experimental Results
The proposed methods were evaluated on medium and hard MIP instances from standard benchmarks, comparing performance against state-of-the-art heuristics used in solvers like SCIP and CPLEX.
- Node Reduction: The supervised SB+ML approach demonstrated superior efficiency, requiring 36% fewer nodes than Pseudocost Branching and 16% fewer nodes than the standard hybrid (SB+PC) method.
- Computational Speedups: Despite the overhead of running ML models during the search, the ML-based solver was 15% to 20% faster overall on difficult instances.
- Bandit Performance: The RA-VAR bandit approach outperformed classical strategies, solving a higher number of instances and reducing the average node count by approximately 6%.
Conclusion and Future Work
This research demonstrates that machine learning can effectively replace or augment traditional heuristics in MIP solvers, providing the node-efficiency of Strong Branching with the low overhead of simpler rules. By moving toward data-driven optimization, we can create solvers that adapt to the specific challenges of the data they process.
Future work will expand this framework beyond branching to other heuristic components, such as node selection (deciding which part of the tree to explore next) and primal heuristics (finding feasible solutions faster). Additionally, the development of "fully offline" models—which can generalize across families of similar problems—remains a key frontier for making MIP solvers even more specialized and efficient.
Summary updated