Reinforced Lin-Kernighan-Helsgaun Algorithms for the Traveling Salesman Problems

Jiongzhi Zheng, Kun He, Jianrong Zhou, Yan Jin, Chu-Min Li
7/8/2022
cs.AIcs.DS

No official code found. Best implementation: JHL-HUST/VSR-LKH-V2 (30 stars, last commit 2024-01-26).

Abstract

TSP is a classical NP-hard combinatorial optimization problem with many practical variants. LKH is one of the state-of-the-art local search algorithms for the TSP. LKH-3 is a powerful extension of LKH that can solve many TSP variants. Both LKH and LKH-3 associate a candidate set to each city to improve the efficiency, and have two different methods, $α$-measure and POPMUSIC, to decide the candidate sets. In this work, we first propose a Variable Strategy Reinforced LKH (VSR-LKH) algorithm, which incorporates three reinforcement learning methods (Q-learning, Sarsa, Monte Carlo) with LKH, for the TSP. We further propose a new algorithm called VSR-LKH-3 that combines the variable strategy reinforcement learning method with LKH-3 for typical TSP variants, including the TSP with time windows (TSPTW) and Colored TSP (CTSP). The proposed algorithms replace the inflexible traversal operations in LKH and LKH-3 and let the algorithms learn to make a choice at each search step by reinforcement learning. Both LKH and LKH-3, with either $α$-measure or POPMUSIC, can be significantly improved by our methods. Extensive experiments on 236 widely-used TSP benchmarks with up to 85,900 cities demonstrate the excellent performance of VSR-LKH. VSR-LKH-3 also significantly outperforms the state-of-the-art heuristics for TSPTW and CTSP.

View on arXivView PDF

Code Implementations(1)

JHL-HUST/VSR-LKH-V2Community100%

Reinforced Lin-Kernighan-Helsgaun Algorithms for the Traveling Salesman Problem and its Variants

303C, ShellDec 29, 20212 years ago

Similar Papers

Cite this paper

@article{zheng2022reinforced,
  title  = {Reinforced Lin-Kernighan-Helsgaun Algorithms for the Traveling Salesman Problems},
  author = {Jiongzhi Zheng and Kun He and Jianrong Zhou and Yan Jin and Chu-Min Li},
  year   = {2022},
  eprint = {2207.03876},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2207.03876v2}
}

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

Discussion