Slide 1

Slide 1 text

TRAVELLING SALESMAN PROBLEM Abhay Rana 09118001

Slide 2

Slide 2 text

STRUCTURE 1. Problem Statement 2. Problem Analysis 3. Basic Solutions 4. Applications 5. Heuristic & Other solutions 6. Links & References

Slide 3

Slide 3 text

PROBLEM STATEMENT​ GIVEN A LIST OF CITIES AND THE DISTANCES BETWEEN EACH PAIR OF CITIES, WHAT IS THE SHORTEST POSSIBLE ROUTE THAT VISITS EACH CITY EXACTLY ONCE AND RETURNS TO THE ORIGIN CITY?

Slide 4

Slide 4 text

MODEL IT AS A GRAPH

Slide 5

Slide 5 text

WHAT'S A GRAPH? REPRESENTATION OF A SET OF OBJECTS WHERE SOME PAIRS OF OBJECTS ARE CONNECTED BY LINKS

Slide 6

Slide 6 text

EDGES Ordered or Unordered pair of exactly 2 vertices. VERTICES Fundamental unit of a graph. Think of it as a point. Can be disconnected. GRAPH Ordered Pair G =(V, E) V = Set of vertices E = Set of edges

Slide 7

Slide 7 text

DIRECTED Edges are two way Edge(a,b) != Edge(b,a) UNDIRECTED Edges have no orientation. Edge(a,b) = Edge(b,a)

Slide 8

Slide 8 text

ASYMMETRIC In the asymmetric TSP, paths may not exist in both directions or the distances might be different, forming a directed graph. One-way streets, for eg. SYMMETRIC The distance between two cities is the same in each opposite direction, forming an undirected graph. This symmetry halves the number of possible solutions. Most common type of TSP.

Slide 9

Slide 9 text

PROBLEM STATEMENT undirected weighted graph city = graph's vertices path = graph's edges distance = edge's length Minimize total distance after visiting all vertices. Often, graph is complete as well

Slide 10

Slide 10 text

SOLVE* TSP = GET $1,000,000 PROBLEM COMPLEXITY

Slide 11

Slide 11 text

COMPLEXITY

Slide 12

Slide 12 text

Year Vertices 1954 49 Cities (USA) 1971 64 Points 1975 80 Points 1977 120 Cities (Germany) 1987 318 Points 1987 532, 666, 1002, 2392 TSP RECORDS

Slide 13

Slide 13 text

1998 - 13,509 CITIES IN USA

Slide 14

Slide 14 text

SWEDEN (2004) 24978 CITIES

Slide 15

Slide 15 text

85,900 POINTS Computer Chip Production (2006)

Slide 16

Slide 16 text

APPLICATIONS

Slide 17

Slide 17 text

NAVIGATION

Slide 18

Slide 18 text

MAPPING GENOMES

Slide 19

Slide 19 text

PRINTED CIRCUIT BOARDS

Slide 20

Slide 20 text

OTHER FIELDS Data Mining Slewing X-ray Crystallography Engravings, Etchings Custom Chip Mfg. Cutting patterns Compression

Slide 21

Slide 21 text

SOLUTIONS

Slide 22

Slide 22 text

BRUTE FORCE SEARCH

Slide 23

Slide 23 text

NEAREST NEIGHBOUR

Slide 24

Slide 24 text

PARTIAL TOUR METHOD

Slide 25

Slide 25 text

ANT COLONY OPTIMIZATION

Slide 26

Slide 26 text

1. Travel to all cities 2. Choose closer cities (visibility) 3. Probability of choosing ∝ pheromone 4. Deposit pheromone on path travelled 5. Iterate

Slide 27

Slide 27 text

REFERENCES By David Stanley from Nanaimo, Canada (Balloon Salesman Uploaded by russavia) [ ], via Wikimedia Commons TSP Cartoon, Courtesy Randal Munroe (xkcd.com) In Pursuit of the Traveling Salesman: Mathematics at the Limits of Computation, William J Cook CC-BY-2.0

Slide 28

Slide 28 text

WILLIAM J COOK In Pursuit of the Travelling Salesman

Slide 29

Slide 29 text

THANK YOU TRAVELLING SALESMAN MOVIE .COM