, Volume 45, Issue 1, pp 41-51

Thermodynamical approach to the traveling salesman problem: An efficient simulation algorithm

Rent the article at a discount

Rent now

* Final gross prices may vary according to local VAT.

Get Access


We present a Monte Carlo algorithm to find approximate solutions of the traveling salesman problem. The algorithm generates randomly the permutations of the stations of the traveling salesman trip, with probability depending on the length of the corresponding route. Reasoning by analogy with statistical thermodynamics, we use the probability given by the Boltzmann-Gibbs distribution. Surprisingly enough, using this simple algorithm, one can get very close to the optimal solution of the problem or even find the true optimum. We demonstrate this on several examples.

We conjecture that the analogy with thermodynamics can offer a new insight into optimization problems and can suggest efficient algorithms for solving them.

Communicated by S. E. Dreyfus
The author acknowledges stimulating discussions with J. Pišút concerning the main ideas of the present paper. The author is also indebted to P. Brunovský, J. Černý, M. Hamala, Š. Peško, Š. Znám, and R. Zajac for useful comments.