NeuroLKH: Combining Deep Learning Model with Lin-Kernighan-Helsgaun Heuristic for Solving the Traveling Salesman Problem

Liang Xin, Wen Song, Zhiguang Cao, Jie Zhang
10/15/2021
cs.AIcs.LG

Official code: liangxinedu/NeuroLKH (90 stars, C, last commit 2022-08-05).

Abstract

We present NeuroLKH, a novel algorithm that combines deep learning with the strong traditional heuristic Lin-Kernighan-Helsgaun (LKH) for solving Traveling Salesman Problem. Specifically, we train a Sparse Graph Network (SGN) with supervised learning for edge scores and unsupervised learning for node penalties, both of which are critical for improving the performance of LKH.

Show full abstract

Based on the output of SGN, NeuroLKH creates the edge candidate set and transforms edge distances to guide the searching process of LKH. Extensive experiments firmly demonstrate that, by training one model on a wide range of problem sizes, NeuroLKH significantly outperforms LKH and generalizes well to much larger sizes. Also, we show that NeuroLKH can be applied to other routing problems such as Capacitated Vehicle Routing Problem (CVRP), Pickup and Delivery Problem (PDP), and CVRP with Time Windows (CVRPTW).

View on arXivView PDF

Code Implementations(1)

9021C, PythonOct 14, 20214 years ago

Similar Papers

Cite this paper

@article{xin2021neurolkh,
  title  = {NeuroLKH: Combining Deep Learning Model with Lin-Kernighan-Helsgaun Heuristic for Solving the Traveling Salesman Problem},
  author = {Liang Xin and Wen Song and Zhiguang Cao and Jie Zhang},
  year   = {2021},
  eprint = {2110.07983},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2110.07983}
}

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/2110.07983.svg)](https://codeofpaper.com/paper/2110.07983)

Discussion