Learning to Insert for Constructive Neural Vehicle Routing Solver

Abstract

Neural Combinatorial Optimisation (NCO) is a promising learning-based approach for solving Vehicle Routing Problems (VRPs) without extensive manual design. While existing constructive NCO methods typically follow an appending-based paradigm that sequentially adds unvisited nodes to partial solutions, this rigid approach often leads to suboptimal results. To overcome this limitation, we explore the idea of the insertion-based paradigm and propose Learning to Construct with Insertion-based Paradigm (L2C-Insert), a novel learning-based method for constructive NCO. Unlike traditional approaches, L2C-Insert builds solutions by strategically inserting unvisited nodes at any valid position in the current partial solution, which can significantly enhance the flexibility and solution quality. The proposed framework introduces three key components: a novel model architecture for precise insertion position prediction, an efficient training scheme for model optimization, and an advanced inference technique that fully exploits the insertion paradigm's flexibility. Extensive experiments on both synthetic and real-world instances of the Travelling Salesman Problem (TSP) and Capacitated Vehicle Routing Problem (CVRP) demonstrate that L2C-Insert consistently achieves superior performance across various problem sizes. The code is available at [https://github.com/CIAM-Group/L2C\_Insert](https://github.com/CIAM-Group/L2C\_Insert).

Cite

Text

Luo et al. "Learning to Insert for Constructive Neural Vehicle Routing Solver." Advances in Neural Information Processing Systems, 2025.

Markdown

[Luo et al. "Learning to Insert for Constructive Neural Vehicle Routing Solver." Advances in Neural Information Processing Systems, 2025.](https://mlanthology.org/neurips/2025/luo2025neurips-learning/)

BibTeX

@inproceedings{luo2025neurips-learning,
  title     = {{Learning to Insert for Constructive Neural Vehicle Routing Solver}},
  author    = {Luo, Fu and Lin, Xi and Zhong, Mengyuan and Liu, Fei and Wang, Zhenkun and Sun, Jianyong and Zhang, Qingfu},
  booktitle = {Advances in Neural Information Processing Systems},
  year      = {2025},
  url       = {https://mlanthology.org/neurips/2025/luo2025neurips-learning/}
}