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/04/24 03:01] 65.108.99.179 old revision restored (2024/04/21 13:38) |
travelling_salesman_problem [2024/04/26 14:14] 47.128.54.113 old revision restored (2024/04/21 14:03) |
||
---|---|---|---|
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, |