How Many Possible Routes in the Traveling Salesman Problem?

  • Context: Undergrad 
  • Thread starter Thread starter O Great One
  • Start date Start date
  • Tags Tags
    Formula
Click For Summary
SUMMARY

The Traveling Salesman Problem (TSP) involves determining the shortest route connecting a set of points. A proposed formula for calculating the total number of unique routes for N points is ((N-1)!*N)/(N*2), which simplifies to (N-1)!/2. For example, with 3 points, there is 1 unique route, and with 4 points, there are 3 unique routes. This formula, while correct, is not widely documented, possibly due to its simplicity and limited relevance to the NP-completeness of the problem.

PREREQUISITES
  • Understanding of combinatorial mathematics
  • Familiarity with factorial notation
  • Basic knowledge of the Traveling Salesman Problem
  • Concept of NP-completeness in computational theory
NEXT STEPS
  • Research combinatorial optimization techniques in TSP
  • Explore advanced algorithms for solving NP-complete problems
  • Learn about heuristic methods for approximating TSP solutions
  • Investigate the implications of TSP in real-world logistics and routing
USEFUL FOR

Mathematicians, computer scientists, operations researchers, and anyone interested in optimization problems and algorithm design.

O Great One
Messages
98
Reaction score
0
The traveling salesman problem is where you have to figure out the shortest route connecting a group of points out of all possible routes. I haven't seen a general math formula to figure out the total number of possible routes given a set of points so I tried to come up with one myself and here's what I got. Let's say that there's four points and you want to know what the total number of possible different routes there are that will connect all four points. Let's assume that the points are numbered 1, 2, 3, and 4. Then these 8 routes are all the same.
12341 23412 34123 41234
14321 21432 32143 43214

The route inbetween the end points can be sequenced in (N-1)! ways and there are N different beginning and endpoints. But, each sequence has N*2 routes that are equivalent so we must divide by that. So this is what we get where N is the number of points:

((N-1)!*N)/(N*2)

We put in 3 points and we get 1 route.
We put in 4 points and we get 3 routes.

The formula seems to be correct and seems to work but I haven't seen it anywhere. Comments?
 
Mathematics news on Phys.org
Your expression should simplify to (N-1)!/2 and does look correct. Perhaps the reason this is not found anywhere is that it is trivially simple to see and still has no bearing on the problem other than to show that it is NP complete.
 

Similar threads

  • · Replies 7 ·
Replies
7
Views
4K
  • · Replies 8 ·
Replies
8
Views
1K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 16 ·
Replies
16
Views
3K
Replies
2
Views
2K
  • · Replies 16 ·
Replies
16
Views
2K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 3 ·
Replies
3
Views
3K