Professional Documents
Culture Documents
of the
No. of Tour
24
5040
2*181,440
2*19,958,400
2*87,178,291,200
2*177,843,714,048,0
00
2*60,822,550,204,41
6,000
Time
12
microsecs
2.5 millisecs
0.18 secs
20 secs
12.1 hours
5.64 years
1927 years
Cutting planes,
branch & bound,
dynamic programming.
Observation:
1.From starting node visit all the adjacent
node
2. Repeat step 1 until all nodes are visited.
Recurrence:
Lets , consider there are four city in our example. Given the adjacency matrix
, which depicts the distance between each cities. Distance between city i to j
is equal to the distance between city j to i .
75
70
30
20
80
90
70
30
75
70
80
20
30
80
90
75
20
90
75
70
30
20
80
90
75
70
30
20
80
90
75
70
30
20
80
90
75
70
30
20
80
90
a+bc
For example, cost of an edge as the euclidian
distance between two points.
Metric Traveling Salesman Problem (metric
TSP): Given a complete graph with edge costs
satisfying triangle inequalities. So, if we visit
one city more than once , it will certainly cost
more.
As we are visiting all the cities once and we
will come back to the start position , it will
Dept. Of CSE, Jahangirnagar University
create a cycle.
lasers...
computing DNA sequences
designing telecommunications networks
designing and testing VLSI circuits