RUS  ENG
Full version
JOURNALS // Sibirskii Zhurnal Vychislitel'noi Matematiki // Archive

Sib. Zh. Vychisl. Mat., 2015 Volume 18, Number 3, Pages 337–347 (Mi sjvm586)

This article is cited in 6 papers

Solving the traveling salesman problem using a recurrent neural network

M. S. Tarkov

Rzhanov Institute of Semiconductor Physics of Siberian Branch of the Russian Academy of Sciences, 13 Lermontov str., Irkutsk, 664033, Russia

Abstract: A new algorithm (NWTA-algorithm) for solving the traveling salesman problem (TSP) is proposed. The algorithm is based on the use of the Hopfield recurrent neural network, the WTA method (“Winner takes all”) for the cycle formation, and $2$-opt optimization method. A special feature of the algorithm proposed is in the use of the method of partial (prefix) sums to accelerate the solution of the system of the Hopfield network equations. For attaining additional acceleration, the parallelization of the algorithm proposed is performed on GPU with the CUDA technology. Several examples from the TSPLIB library with the number of cities from 51 to 2,392 show that the algorithm proposed finds approximate solutions of the TSP (a relative increase in the length of the route with respect to the optimum is $0.03\div0.14$). With a large number of cities (130 and more) the NWTA-algorithm running duration on the CPU is in $4\div24$ times less than the duration of the heuristic LKH algorithm giving optimal solutions for all TSPLIB examples.

Key words: traveling salesman problem, recurrent neural Hopfield network, $2$-opt, CUDA technology, LKH algorithm.

UDC: 004.032.26(06)

Received: 21.07.2014
Revised: 19.08.2014

DOI: 10.15372/SJNM20150308


 English version:
Numerical Analysis and Applications, 2015, 8:3, 275–283

Bibliographic databases:


© Steklov Math. Inst. of RAS, 2026