Journal of the Operations Research Society of China ›› 2025, Vol. 13 ›› Issue (4): 1083-1107.doi: 10.1007/s40305-023-00507-y

Previous Articles     Next Articles

HiTSP: Towards a Hierarchical Neural Framework for Large-scale Traveling Salesman Problems

Jian-Feng Liu1,2, Zi-Hao Wang3, Wei Zhang1,2, Chao-Rui Zhang2, Jian-Feng Hou2,4, Bo Bai2, Gong Zhang2   

  1. 1 Department of Mathematical Sciences, Tsinghua University, Beijing 100084, China;
    2 Theory Lab, Central Research Institute, 2012 Labs, Huawei Technologies Co., Ltd., Shenzhen 518129, Guangdong, China;
    3 Department of Computer Science and Engineering, Hong Kong University of Science and Technology, Sai Kung, Hong Kong, China;
    4 Center of Discrete Mathematics, Fuzhou University, Quanzhou 350116, Fujian, China
  • Received:2022-05-12 Revised:2023-08-25 Online:2025-12-30 Published:2025-12-19
  • Contact: Chao-Rui Zhang E-mail:chaorui.zhang@gmail.com
  • Supported by:
    This work was supported by the National Natural Science Foundation of China (No. 12071077).

Abstract: Recently, learned heuristics have been widely applied to solve combinatorial optimization problems (e.g., traveling salesman problem (TSP)). However, the scalability of these learning-based methods hinders the applications in practical scenarios. Specifically, models pre-trained on the small-scale data generalize poorly to large-scale problems. Moreover, learning the heuristics directly for large-scale problems costs tremendous time and space. To extend the scalability of learned heuristics on TSP, we propose a Hierarchical neural framework for solving large-scale traveling salesman problems (HiTSPs) based on a divide-and-conquer strategy. In particular, the HiTSP framework first divides the large-scale problem into small-scale subproblems by node clustering. Each subproblem is conquered by a modified pointer network learned from reinforcement learning. The tour of the original TSP is constructed by linking solutions of subproblems and optimized by a novel segmented local search algorithm. Notably, the segmented local search algorithm leverages the node clustering information to prune many unnecessary operations and significantly reduces the complexity in theory. Extensive experiments show that HiTSP outperforms state-of-the-art learning-based methods and Google OR-Tools in large-scale cases. Moreover, compared to the best heuristic algorithms, HiTSP has a significant advantage in efficiency for large-scale TSP problems.

Key words: Hierarchical neural framework, Divide-and-conquer, Modified pointer network, Segmented local search algorithm

CLC Number: