Skip to content
Open access

The application of machine learning models to optimal TSP tour length estimation

Aug 2026 · International Transactions in Operational Research · 0 citations · 18 references

TL;DR

This paper introduces a machine learning‐based approach to estimate the optimal tour length of the TSP, using linear regression, random forests, and neural networks, including Kolmogorov–Arnold networks (KANs), revealing that KAN models generalize remarkably well, while RF requires representative training examples from each distribution.

Abstract

The traveling salesman problem (TSP) is a well‐known NP‐hard problem in combinatorial optimization, with numerous applications in logistics and elsewhere. This paper introduces a machine learning‐based approach to estimate the optimal tour length of the TSP, using linear regression, random forests (RF), and neural networks, including Kolmogorov–Arnold networks (KANs). A key limitation of one of the most accurate published neural‐network estimators for the TSP is that it relies on size‐specific architectures: Each model is bound to a fixed instance size and cannot be applied to larger instances without retraining. We address this through size‐independent features enabling bidirectional scalability: a single model applicable to instances of any size without retraining. Under equivalent conditions, our best model achieves 1.51% mean absolute percentage error, outperforming the state‐of‐the‐art approach (2.02%). We conduct systematic generalizability analysis on challenging out‐of‐distribution instances, such as instances (a family of instances whose two‐dimensional projections form the edges of a tetrahedron) and on triangular distributed instances, revealing that KAN models generalize remarkably well, while RF requires representative training examples from each distribution. Through KAN's interpretability framework, we extract analytical formulas that recover classical relationships from early theoretical work, bridging machine learning and traditional analytical methods. Our findings provide practical guidance for model selection and demonstrate that machine learning techniques can achieve high accuracy, robust generalization, and interpretability for TSP tour length estimation.

Read PDF

Similar papers

Review Open access Aug 2026

A systematic literature review on the use of machine learning in traveling salesman problems

The Traveling Salesman Problem (TSP) has been documented in the history of combinatorial optimization since the 18th century. TSP is a well-known NP-hard problem that has been extensively studied, where a salesman aims to visit each of a set of cities exactly once and return to the starting city with minimal distance t...

R. Ramos da Silva, Ranulfo Mascari, Pedro Henrique Cabral Moreira et al. · 0 citations
Open access Aug 2026

A solution method for the traveling salesman problem based on multi-scale features and dynamic optimization

A multi-scale deep optimization model based on an encoder-decoder architecture that validates the effectiveness of the multi-scale EMA and Triplet-Reasoning mechanisms, providing a new direction for deep learning-based graph optimization research.

Yu-Ting Xie, Qian-Qian Duan · 0 citations
Conference

A Hybrid Machine Learning-Optimization Framework for Enhanced TSP Solutions

This work proposes a hybrid framework combining machine learning and traditional optimization techniques to solve the Traveling Salesman Problem efficiently, using an encoder-decoder neural network with local attention to predict near-optimal city sequences by training on smaller TSP instances.

Labiba Noshin Asha, Chase Rainwater · 0 citations
Conference

Solving large-scale traveling salesman problems based on large language model

The Traveling Salesman Problem (TSP) is an NP-hard yet fundamental combinatorial optimization problem with applications across numerous real-world fields, including transportation, logistics, and manufacturing. In recent years, artificial intelligence (AI)-based algorithms have gained popularity for solving TSP, partic...

Zhuo-Li Yin, Yi Ding, Reem Khir et al. · 0 citations

for Vehicle Routing Problems

Deep Policy Dynamic Programming is proposed, which aims to combine the strengths of learned neural heuristics with those of DP algorithms, and prioritizes and restricts the DP state space using a policy derived from a deep neural network, which is trained to predict edges from example solutions.

W. Kool, H. van Hoof, J. Gromicho et al. · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.