Operator Selection in Adaptive Large Neighborhood Search using Deep Reinforcement Learning

Robbert Reijnen, Yingqian Zhang, Hoong Chuin Lau, Zaharah Allah BukhsharXiv 2022 · arXiv · OpenReview

Abstract

The Adaptive Large Neighborhood Search (ALNS) algorithm has shown considerable success in solving complex combinatorial optimization problems (COPs). ALNS selects various heuristics adaptively during the search process, leveraging their strengths to find good solutions for optimization problems. However, the effectiveness of ALNS depends on the proper configuration of its selection and acceptance parameters. To address this limitation, we propose a Deep Reinforcement Learning (DRL) approach that selects heuristics, adjusts parameters, and controls the acceptance criteria during the search process. The proposed method aims to learn, based on the state of the search, how to configure the next iteration of the ALNS to obtain good solutions to the underlying optimization problem. We evaluate the proposed method on a time-dependent orienteering problem with stochastic weights and time windows, used in an IJCAI competition. The results show that our approach outperforms vanilla ALNS and ALNS tuned with Bayesian Optimization. In addition, it obtained better solutions than two state-of-the-art DRL approaches, which are the winning methods of the competition, with much fewer observations required for training.

Introduction

Combinatorial Optimization Problems (COPs)—such as vehicle routing or factory scheduling—are notoriously difficult (NP-hard). A popular metaheuristic for these problems is Adaptive Large Neighborhood Search (ALNS), which iteratively "ruins" a part of a solution and "recreates" it to find improvements.

However, ALNS faces a significant "tuning" challenge. Its performance depends heavily on selecting the right operators and parameters (e.g., destroy severity or search "temperature"). Traditionally, these are set manually or via expensive offline optimization, failing to adapt to the dynamic state of the search. Existing DRL solutions often attempt to build solutions from scratch (end-to-end), which struggles to scale to large, complex problems. To bridge this gap, we introduce DR-ALNS, a framework that uses Deep Reinforcement Learning to dynamically manage the ALNS search process.

The DR-ALNS Framework

DR-ALNS treats the control of the ALNS algorithm as a Markov Decision Process (MDP). Instead of constructing a solution directly, the DRL agent acts as a high-level manager for the search process.

The DR-ALNS framework architecture, showing the interaction between the DRL agent and the ALNS environment.

Agent and State Space

The agent uses Proximal Policy Optimization (PPO) and operates on seven problem-agnostic features. These include search status metrics such as stagnation count, remaining search budget, and recent cost improvements. Because these features describe the search dynamics rather than the specific problem geometry (like node coordinates), the model is highly portable across different problem types.

Action Space and Rewards

In each iteration, the agent makes four simultaneous decisions:

  1. Destroy operator selection.
  2. Repair operator selection.
  3. Destroy severity (the percentage of the solution to break).
  4. Acceptance criterion (the temperature parameter for Simulated Annealing).

The agent receives a positive reward (+5) only when it discovers a new "best-so-far" solution, which encourages strategies that lead to long-term improvement rather than immediate, local gains.

Experimental Evaluation

The primary evaluation was conducted on the Orienteering Problem with Stochastic Weights and Time Windows (OPSWTW), using instances from the IJCAI AI4TSP competition. To test generalization, the method was also applied to standard routing benchmarks, including the Capacitated Vehicle Routing Problem (CVRP) and the Traveling Salesman Problem (TSP).

Key Results

  • Superior Performance: DR-ALNS outperformed the winning DRL methods from the IJCAI AI4TSP competition (Rise_up and Ratel) across all instance sizes.
  • Faster Convergence: On 100-node problems, DR-ALNS found better solutions in significantly fewer iterations than vanilla ALNS or ALNS tuned with Bayesian Optimization (ALNS-BO).
Comparison of objective value convergence over iterations for DR-ALNS, ALNS-Vanilla, and ALNS-BO.
  • Computational Efficiency: For 100-node instances, DR-ALNS required roughly 3.5 minutes of computation, compared to 23 minutes for the top-performing constructive DRL competition entries.
  • Zero-Shot Transfer and Scalability: A policy trained on the multiple TSP (mTSP) could be applied directly to the standard TSP with near-identical performance. Furthermore, models trained on small instances (20 nodes) maintained high performance when deployed on much larger instances (100 nodes), demonstrating robust scalability.

Conclusion

DR-ALNS demonstrates that DRL can effectively manage complex metaheuristics by learning "how to search" rather than just "how to build." By controlling both operator selection and search parameters dynamically, the framework achieves state-of-the-art results with high computational efficiency. While the current framework requires a predefined set of operators for each problem class, future work will explore expanding the framework to non-routing combinatorial problems and further refining the neural architecture to handle increasingly diverse operator sets.

Summary updated

Abstract

The Adaptive Large Neighborhood Search (ALNS) algorithm has shown considerable success in solving complex combinatorial optimization problems (COPs). ALNS selects various heuristics adaptively during the search process, leveraging their strengths to find good solutions for optimization problems. However, the effectiveness of ALNS depends on the proper configuration of its selection and acceptance parameters. To address this limitation, we propose a Deep Reinforcement Learning (DRL) approach that selects heuristics, adjusts parameters, and controls the acceptance criteria during the search process. The proposed method aims to learn, based on the state of the search, how to configure the next iteration of the ALNS to obtain good solutions to the underlying optimization problem. We evaluate the proposed method on a time-dependent orienteering problem with stochastic weights and time windows, used in an IJCAI competition. The results show that our approach outperforms vanilla ALNS and ALNS tuned with Bayesian Optimization. In addition, it obtained better solutions than two state-of-the-art DRL approaches, which are the winning methods of the competition, with much fewer observations required for training. The implementation of our approach will be made publicly available.
BibTeX
@misc{reijnen2022operator,
  author = {Robbert Reijnen and Yingqian Zhang and Hoong Chuin Lau and Zaharah Allah Bukhsh},
  title = {{Operator Selection in Adaptive Large Neighborhood Search using Deep Reinforcement Learning}},
  year = {2022},
  eprint = {2211.00759},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2211.00759},
}
Figure