Presentation is loading. Please wait.

Presentation is loading. Please wait.

Hamiltonian Circuit & The Traveling Salesman Problem Drew Nash 26 March 2014.

Similar presentations

Presentation on theme: "Hamiltonian Circuit & The Traveling Salesman Problem Drew Nash 26 March 2014."— Presentation transcript:

1 Hamiltonian Circuit & The Traveling Salesman Problem Drew Nash 26 March 2014

2 Definitions  You are a traveling salesperson…  On assignment… 1203-death-of-a-salesman-interactive.html?_r=0

3 Definitions  Traveling Salesman Problem – If given a list of cities and potential paths between them, with each path having a certain “cost” (Applegate) or distance, which route that starts at an origin city, visits every other city exactly once, and terminates at the origin city, would yield the lowest cost or shortest distance?

4 Definitions



7  Hamiltonian Path – A path containing all vertices in a graph G  Hamiltonian Circuit – A circuit containing all vertices in a graph G  Hamiltonian Graph – A graph containing a Hamiltonian circuit

8 Definitions  Back to Traveling Salesman Problem.. – An answer to the TSP is referred to as a tour or circuit – If the TSP is graphed, the resulting tour will be a Hamiltonian circuit of that graph – In other words, find the Hamiltonian circuit in a weighted graph with the least weight

9 History  One of the most well-known researchers of this problem was Merrill Flood of Princeton University.  He was working on school bus routing in the 1930s.  The term Traveling Salesman Problem became popular in the mid-1950s. history/faculty/merrill-m-flood

10 History  It is thought that the first written reference to the TSP term was in Julia Robinson’s 1949 report, “On the Hamiltonian game (a traveling salesman problem).”  Some consider the Knight’s Tour problem to be the predecessor of the TSP.

11 History  Hamiltonian circuits are named after Sir William Rowan Hamilton  Hamilton is known for his work with the dodecahedron because he showed that no matter which five of the twenty points you start with, you can complete the tour along the edges by visiting the remaining 15 points and terminating adjacent to the origin

12 History  1962 Proctor and Gamble Contest

13 History

14  Timeline: – 195449 cities – 197157 cities – 197161 cities – 197567 cities – 1977120 cities – 1980318 cities – 1987532 cities – 1987666 cities – 19871,002 cities – 19872,392 cities

15 History  Concorde Timeline: – 19923,038 cities – 19934,461 cities – 19947,397 cities – 199813,509 cities – 200115,112 cities – 200424,978 cities – 200433,810 cities – 200685,900 cities

16 Examples  Use a greedy algorithm to solve TSP?

17 Examples

18  Use heuristics: – In 2011, Rego, et al. published a paper stating that many TSP heuristics have a decent chance of yielding a solution with less than 5% of the selected edges being incorrect – However, the guarantee is only that the heuristics will generate a path that is at most 50% longer than the optimal solution

19 Examples  Lin-Kernighan Heuristic: – In 1973, a heuristic was developed to solve the TSP if the cost is based on Euclidean distance – The method relies on swapping pairs of paths between cities in order to find a shorter tour

20 Examples

21 West

22 Examples

23 West

24 Examples

25 Applications  Route-planning – School bus routes (how it is though TSP got started) – Post Office routes – Airline routes – Wire route to various nodes – (How is cost determined?)

26 Applications


28 Applications (sort of)  White blood cells are known to be able to accurately solve small TSPs  Psychologists have observed the abilities of adults, children, and animals to solve a given TSP

29 Open Problems  Further develop the TSPLIB program to be capable of realistically solving TSPs with more than 100,000 cities

30 Open Problems  Does P = NP? – This is one of the seven Millennium Prize Problems given by the Clay Mathematics Institute in 2000.  Further develop the TSPLIB program to be capable of realistically solving TSPs with more than 100,000 cities

31 References  Applegate, David L., et al. The Traveling Salesman Problem. Princeton: Princeton UP, 2006. Print.  Beineke, Lowell W., et al. Selected Topics in Graph Theory. London: Academic, 1978. Print.  Christopfides, Nicos. Worst-Case Analysis of a New Heuristic for the Travelling Salesman Problem. Pittsburgh: Carnegie-Mellon, 1976. Print.  Cormen, Thomas H., et al. Introduction to Algorithms. Cambridge: MIT, 2009. Print.  Gross, Jonathan L., et al. Handbook of Graph Theory. Boca Raton: CRC, 2003. Print.  Gutin, Gregory, et al. The Traveling Salesman Problem and Its Variations. Norwell: Kluwer, 2002. Print.

32 References  Karp, Richard M. (1972). "Reducibility Among Combinatorial Problems". In R. E. Miller and J. W. Thatcher (editors). Complexity of Computer Computations. New York: Plenum. pp. 85–103.  Lin, Shen; Kernighan, B. W. (1973). "An Effective Heuristic Algorithm for the Traveling-Salesman Problem". Operations Research 21 (2): 498–516.  Rego, César; Gamboa, Dorabela; Glover, Fred; Osterman, Colin (2011), "Traveling salesman problem heuristics: leading methods, implementations and latest advances", European Journal of Operational Research 211 (3): 427–441.  Lawler, E.L., et al. The Traveling Salesman Problem. London: Wiley, 1985. Print.  Tomescu, Ioan, et al. Problems in Combinatorics and Graph Theory. London: Wiley, 1985. Print.  West, Douglas B. Introduction to Graph Theory. Upper Saddle River: Prentice Hall, 2001. Print

33 Homework 1  Prove or Disprove: – The following graph has a Hamiltonian circuit.

34 Homework 2

35 Homework 3

Download ppt "Hamiltonian Circuit & The Traveling Salesman Problem Drew Nash 26 March 2014."

Similar presentations

Ads by Google