Searching Large Neighborhoods for Integer Linear Programs with Contrastive Learning
Taoan Huang, Aaron Ferber, Yuandong Tian, Bistra Dilkina, Benoit Steiner
TL;DR
The paper tackles solving large, hard ILPs by improving Large Neighborhood Search through learning a destroy policy. It introduces CL-LNS, which uses a contrastive loss to train a Graph Attention Network-based policy that imitatesLB-derived good subsets while leveraging intermediate LB solutions and perturbations to form positive and negative samples. Empirical results across MVC, MIS, CA, and SC demonstrate state-of-the-art anytime performance, strong generalization to larger instances, and clear gains from the contrastive objective and richer features. The approach offers practical impact by delivering faster, higher-quality primal solutions and providing a framework applicable to a broad class of COPs that require efficient neighborhood selection. It also opens avenues for integrating learned destroy policies with BnB and extending contrastive learning to other combinatorial search subproblems.
Abstract
Integer Linear Programs (ILPs) are powerful tools for modeling and solving a large number of combinatorial optimization problems. Recently, it has been shown that Large Neighborhood Search (LNS), as a heuristic algorithm, can find high quality solutions to ILPs faster than Branch and Bound. However, how to find the right heuristics to maximize the performance of LNS remains an open problem. In this paper, we propose a novel approach, CL-LNS, that delivers state-of-the-art anytime performance on several ILP benchmarks measured by metrics including the primal gap, the primal integral, survival rates and the best performing rate. Specifically, CL-LNS collects positive and negative solution samples from an expert heuristic that is slow to compute and learns a new one with a contrastive loss. We use graph attention networks and a richer set of features to further improve its performance.
