Skip to main content
QUICK REVIEW

[Paper Review] Learning a Large Neighborhood Search Algorithm for Mixed Integer Programs

Nicolas Sonnerat, Pengming Wang|arXiv (Cornell University)|Jul 21, 2021
Machine Learning and AlgorithmsComputer Science13 citations
TL;DR

This paper proposes a learning-based Large Neighborhood Search (LNS) framework for Mixed Integer Programs (MIPs) that combines a Neural Diving model for initial solution generation and a Neural Neighborhood Selection (NNS) policy for iterative improvement. Trained via imitation learning to mimic an optimal expert neighborhood selection policy, the method achieves up to 37.8× better average primal gap than baselines on large-scale real-world MIP instances at high time limits.

ABSTRACT

Large Neighborhood Search (LNS) is a combinatorial optimization heuristic that starts with an assignment of values for the variables to be optimized, and iteratively improves it by searching a large neighborhood around the current assignment. In this paper we consider a learning-based LNS approach for mixed integer programs (MIPs). We train a Neural Diving model to represent a probability distribution over assignments, which, together with an off-the-shelf MIP solver, generates an initial assignment. Formulating the subsequent search steps as a Markov Decision Process, we train a Neural Neighborhood Selection policy to select a search neighborhood at each step, which is searched using a MIP solver to find the next assignment. The policy network is trained using imitation learning. We propose a target policy for imitation that, given enough compute resources, is guaranteed to select the neighborhood containing the optimal next assignment amongst all possible choices for the neighborhood of a specified size. Our approach matches or outperforms all the baselines on five real-world MIP datasets with large-scale instances from diverse applications, including two production applications at Google. It achieves $2\ imes$ to $37.8\ imes$ better average primal gap than the best baseline on three of the datasets at large running times.

Motivation & Objective

  • To address the limitation of one-shot primal heuristics like Neural Diving, which fail to improve further with increased running time.
  • To develop a scalable, learnable LNS framework that iteratively improves MIP solutions beyond the initial assignment.
  • To train a neighborhood selection policy that mimics an optimal expert policy, enabling faster convergence to high-quality solutions.
  • To demonstrate the method's effectiveness on diverse, large-scale real-world MIP datasets, including production instances from a major technology company.

Proposed method

  • A Neural Diving model is used to generate an initial feasible assignment for the MIP variables, leveraging a generative model conditioned on the MIP structure.
  • At each LNS iteration, the Neural Neighborhood Selection (NNS) policy selects a subset of integer variables to unassign, based on the current assignment.
  • The selected variables define a sub-MIP, which is solved with an off-the-shelf MIP solver (e.g., SCIP) to produce the next improved assignment.
  • The NNS policy is trained via imitation learning using a target expert policy that selects the neighborhood containing the optimal next assignment within a Hamming ball of a given size.
  • The expert policy is computationally expensive but tractable for offline data generation, enabling imitation of optimal neighborhood choices.
  • The method is scalable as both initial assignment and neighborhood selection are modeled as joint distributions over high-dimensional decisions, enabling efficient inference.

Experimental results

Research questions

  • RQ1Can a learned neighborhood selection policy significantly improve solution quality beyond a one-shot initial heuristic like Neural Diving on large-scale MIPs?
  • RQ2How does imitation learning of an optimal expert neighborhood policy compare to heuristic or random neighborhood selection in LNS for MIPs?
  • RQ3To what extent can the proposed LNS framework outperform existing baselines in terms of primal gap reduction across diverse real-world MIP datasets?
  • RQ4Does the iterative application of the NNS policy enable better utilization of extended running time compared to non-iterative heuristics?

Key findings

  • The proposed ND + NNS method matches or outperforms all baselines on five diverse real-world MIP datasets, including two production applications from a large technology company.
  • On three datasets, the method achieves 2× to 37.8× better average primal gap than the best baseline at large running times.
  • The performance gain is attributed to the iterative use of the NNS policy, which allows better utilization of extended time budgets compared to the one-shot Neural Diving baseline.
  • The method demonstrates scalability and effectiveness on large-scale MIP instances, where prior learning-based LNS approaches were limited by fixed neighborhood choices or slow inference.
  • The imitation learning approach successfully approximates an optimal expert neighborhood policy, enabling fast and effective neighborhood selection at test time.
  • The results suggest that end-to-end training and more expressive architectures (e.g., autoregressive models) could further improve performance.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.