NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Learning Enhanced Optimisation for Routing Problems

Nasrin Sultana, Jeffrey Chan, Tabinda Sarwar, Babak Abbasi, A. Kai QinarXiv 2021

TL;DR

This paper introduces L2GLS, a novel learning-based approach that combines reinforcement learning with local search and penalty terms to solve complex routing problems like TSP and CVRP. L2GLS achieves state-of-the-art results on large-scale instances, outperforming existing methods in both solution quality and computational efficiency.

What Problem Does This Paper Address?

Routing problems, such as the Traveling Salesman Problem (TSP) and the Capacitated Vehicle Routing Problem (CVRP), are fundamental in operations research with widespread real-world applications. While traditional optimization algorithms can find optimal or near-optimal solutions, they often struggle with large-scale instances, leading to prohibitively long computation times. Deep learning approaches have shown promise in learning heuristics for these problems, but they often lag behind operations research algorithms in solution quality and scalability. This paper addresses the gap between machine learning and operations research by proposing a hybrid approach that leverages the strengths of both to efficiently solve large and complex routing problems.

Methods

The core of the proposed method is "Learning to Guide Local Search" (L2GLS). L2GLS employs a reinforcement learning (RL) manager to adaptively select and apply local search (LS) operators. Unlike previous methods that might rely on ad-hoc perturbation operators to escape local optima, L2GLS augments the objective function with a set of dynamically adjusted penalty terms. These penalty terms are designed to identify and penalize solution features that contribute most to sub-optimality, guiding the search towards more promising regions of the solution space. The RL manager learns a policy to select the most effective LS operators and their parameters, and it also detects when the search is stuck in a local minimum, triggering the use of penalty terms to escape. The paper also investigates various combinations of LS operators (2-opt, relocate, swap, and three permutations) to find the most effective set.

Datasets

The authors evaluate their method on:

  • Randomly generated instances: For TSP, instances with 20, 50, 100, 200, 500, and 1000 nodes were used. For CVRP, instances with 20, 50, 100, 200, 500, and 1000 customers were generated, with varying vehicle capacities.
  • TSPLIB library: A collection of 39 TSP instances, including some up to 1002 nodes, were used to test generalization.
  • CVRP benchmark instances from Uchoa et al. [28]: These instances were used to evaluate performance on various depot and customer positioning scenarios.

Key Insights and Ideas

  • Penalty terms as an alternative to perturbation: Instead of relying on potentially disruptive perturbation operators to escape local optima, L2GLS uses adaptive penalty terms to dynamically adjust the objective function. This approach is shown to be more effective in guiding the search.
  • RL-guided operator selection: The RL manager intelligently learns which local search operators are most effective for a given problem and state, moving beyond manually designed heuristics or fixed operator sequences.
  • Scalability is key: The paper emphasizes the importance of addressing large-scale instances, which are more representative of real-world problems, and demonstrates L2GLS's ability to handle them efficiently.
  • Operator synergy matters: The investigation into different combinations of LS operators highlights that the effectiveness of the overall algorithm depends on the interplay between these operators.

Key Results

  • State-of-the-art performance: L2GLS achieves new state-of-the-art results on large-scale TSP and CVRP instances, outperforming existing machine learning methods and even matching or exceeding the performance of specialized operations research solvers like Concorde (for TSP) and LKH3 (for CVRP) in terms of solution quality.
  • Significant speedup: L2GLS demonstrates substantial computational efficiency. For example, it solves TSP100 instances in approximately 11 minutes, compared to Concorde's 60 minutes. For CVRP100, L2GLS takes about 17 minutes, while LKH3 requires 780 minutes.
  • Generalization ability: The model shows strong generalization capabilities, performing well on benchmark datasets (TSPLIB) and various CVRP instance distributions, even when trained on different problem sizes.
  • Impact of penalty terms: Ablation studies show that the penalty term significantly improves solution quality compared to using LS operators alone.

Limitations and Future Work

  • Hardware dependency: The authors acknowledge that comparing computational running times across different hardware and implementations can be difficult. Their comparisons were performed on the same hardware.
  • Future research directions: The authors suggest expanding the solution framework to other combinatorial problems and exploring more advanced search operators. They also propose investigating the impact of different data distributions and problem types on the learned policy.

Summary updated

BibTeX
@misc{sultana2021learning,
  author = {Nasrin Sultana and Jeffrey Chan and Tabinda Sarwar and Babak Abbasi and A. Kai Qin},
  title = {{Learning Enhanced Optimisation for Routing Problems}},
  year = {2021},
  eprint = {2109.08345},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2109.08345},
}
Figure