Learning a Large Neighborhood Search Algorithm for Mixed Integer Programs

Nicolas Sonnerat, Pengming Wang, Ira Ktena, Sergey Bartunov, Vinod Nair
7/21/2021
math.OCcs.LG

Official code: google-deepmind/neural_lns (55 stars, Python, Apache-2.0, last commit 2022-02-03).

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).

Show full abstract

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\times$ to $37.8\times$ better average primal gap than the best baseline on three of the datasets at large running times.

View on arXivView PDF

Code Implementations(1)

Apache-2.0
5511PythonJan 21, 20224 years agoApache-2.0

Similar Papers

Cite this paper

@article{sonnerat2021learning,
  title  = {Learning a Large Neighborhood Search Algorithm for Mixed Integer Programs},
  author = {Nicolas Sonnerat and Pengming Wang and Ira Ktena and Sergey Bartunov and Vinod Nair},
  year   = {2021},
  eprint = {2107.10201},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2107.10201}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2107.10201.svg)](https://codeofpaper.com/paper/2107.10201)

Discussion