0

The TSP (Travelling Salesman Problem)

Do you know any good coded algorythm (any language, C++ preferred) to cope with the Travelling Salesman Problem?

31st Jul 2019, 6:00 PM
Paolo De Nictolis
Paolo De Nictolis - avatar
5 Respostas
+ 2
Paolo De Nictolis you can read about minimum spanning tree and Prima's algorithm for example
31st Jul 2019, 9:47 PM
Marina Vasilyova
Marina Vasilyova - avatar
+ 1
There are many ways to solve it: exhaustive search random brute force the cheapest method of inclusion minimum spanning tree method And so on. Algorithm which you should choose depends mostly on your problem
31st Jul 2019, 9:41 PM
Marina Vasilyova
Marina Vasilyova - avatar
+ 1
There are many solutions. Y ou need to choose the one that corresponds to the task. There are different asymptotics and occupied memory, and the task itself can be also different
31st Jul 2019, 9:53 PM
Marina Vasilyova
Marina Vasilyova - avatar
0
Any example?
31st Jul 2019, 9:42 PM
Paolo De Nictolis
Paolo De Nictolis - avatar