This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
travelling_salesman_problem [2024/05/03 13:37] 47.128.50.24 old revision restored (2024/04/29 14:12) |
travelling_salesman_problem [2024/05/18 17:52] 49.51.244.249 old revision restored (2024/05/12 13:21) |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== Travelling salesman problem ====== | ====== Travelling salesman problem ====== | ||
- | |||
- | < | ||
The travelling salesman problem (TSP) asks the following question: Given a list of cities and the distances between each pair of cities, what is the shortest possible route that visits each city exactly once and returns to the origin city? It is an NP-hard problem in combinatorial optimization, | The travelling salesman problem (TSP) asks the following question: Given a list of cities and the distances between each pair of cities, what is the shortest possible route that visits each city exactly once and returns to the origin city? It is an NP-hard problem in combinatorial optimization, |