|
|
|
|
|
by julian37
5230 days ago
|
|
The classic example is figuring out the most efficient route for a traveling salesman going to multiple destinations. [...] For example, if you have six destinations, there are 64 possible combinations. If you have 20 destinations, there are 1,048,576 possible combinations. That's incorrect, the number of combinations for N destinations is N!, not 2^N. So for 6 destinations there are 720 combinations and for 20 there are 2.43290201 × 10^18. http://en.wikipedia.org/wiki/Permutation#Counting_sequences_... |
|
https://en.wikipedia.org/wiki/Travelling_salesman_problem#Ex...