Traveling Salesman Game![]() The traveling salesman problem is a famous example of an NP-complete problem. There is no known algorithm that is guaranteed to solve every -city problem in polynomial time (as a function of ). Brute force is completely impractical. The total number of possible tours when there are cities is . So, for instance, with 30 cities there are 4420880996869850977271808000000 possible tours. Suffice it to say that calculating the length of each and then identifying the shortest among them is well beyond the capacity of today's computers. It is this reality that provides the possibility of "beating" Mathematica at this game.An excellent resource for all things TSP is William Cook's site, www.tsp.gatech.edu. ![]() "Traveling Salesman Game" from The Wolfram Demonstrations Project http://demonstrations.wolfram.com/TravelingSalesmanGame/ Contributed by: Bruce Torrence |
![]() | ||
|
|
||


















Browse all topics















