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

Slides:



Advertisements
Similar presentations
Limitation of Computation Power – P, NP, and NP-complete
Advertisements

22C:19 Discrete Math Graphs Fall 2010 Sukumar Ghosh.
Carthagène A brief introduction to combinatorial optimization: The Traveling Salesman Problem Simon de Givry Thales Research & Technology, France (minor.
Introduction to Graph Theory Instructor: Dr. Chaudhary Department of Computer Science Millersville University Reading Assignment Chapter 1.
22C:19 Discrete Math Graphs Fall 2014 Sukumar Ghosh.
Traveling Salesman Problem By Susan Ott for 252. Overview of Presentation Brief review of TSP Examples of simple Heuristics Better than Brute Force Algorithm.
Reducibility Class of problems A can be reduced to the class of problems B Take any instance of problem A Show how you can construct an instance of problem.
9.2 The Traveling Salesman Problem. Let us return to the question of finding a cheapest possible cycle through all the given towns: We have n towns (points)
PCPs and Inapproximability Introduction. My T. Thai 2 Why Approximation Algorithms  Problems that we cannot find an optimal solution.
Rohit Ray ESE 251. The goal of the Traveling Salesman Problem (TSP) is to find the most economical way to tour of a select number of “cities” with the.
1 Discrete Structures & Algorithms Graphs and Trees: II EECE 320.
Math 308 Discrete Mathematics Discrete Mathematics deals with “Separated” or discrete sets of objects (rather than continuous sets) Processes with a sequence.
Math443/543 Mathematical Modeling and Optimization
Homework collection Read Pages 175 – 184 Page 188: 21 – 26, 29 – 36, 41 – 44, 47 – 49, 51, 52, 59, 62, 63.
CSE 326: Data Structures NP Completeness Ben Lerner Summer 2007.
IEOR266 © Classification of MCNF problems.
A traveling salesman has customers in 5 cities which we will call A, B, C, D, and E. The salesman needs to travel to all 5 cities with his trip starting.
22C:19 Discrete Math Graphs Spring 2014 Sukumar Ghosh.
The Travelling Salesman Problem (TSP)
Take a Tour with Euler Elementary Graph Theory – Euler Circuits and Hamiltonian Circuits Amro Mosaad – Middlesex County Academy.
Programming & Data Structures
EECS 203: It’s the end of the class and I feel fine. Graphs.
Scott Perryman Jordan Williams.  NP-completeness is a class of unsolved decision problems in Computer Science.  A decision problem is a YES or NO answer.
Complexity Classes (Ch. 34) The class P: class of problems that can be solved in time that is polynomial in the size of the input, n. if input size is.
Graph Theory Hamilton Paths and Hamilton Circuits.
CS440 Computer Science Seminar Introduction to Evolutionary Computing.
Excursions in Modern Mathematics, 7e: Copyright © 2010 Pearson Education, Inc. 6 The Mathematics of Touring 6.1Hamilton Paths and Hamilton Circuits.
Spring 2015 Mathematics in Management Science Network Problems Networks & Trees Minimum Networks Spanning Trees Minimum Spanning Trees.
Combinatorial Optimization Chapter 1. Problems and Algorithms  1.1 Two Problems (representative problems)  The Traveling Salesman Problem 47 drilling.
The Traveling-Salesman Problem. Born August 4, 1805 in Dublin, Ireland Died September 2, 1865 in Dublin, Ireland Made many contributions to the Physics.
6.1 Hamilton Circuits and Paths: Hamilton Circuits and Paths: Hamilton Path: Travels to each vertex once and only once… Hamilton Path: Travels to each.
Hamiltonian Graphs By: Matt Connor Fall 2013.
Copyright © 2014, 2010, 2007 Pearson Education, Inc. Section 4.2, Slide 1 4 Graph Theory (Networks) The Mathematics of Relationships 4.
CS 200 Algorithms and Data Structures
CSE 024: Design & Analysis of Algorithms Chapter 9: NP Completeness Sedgewick Chp:40 David Luebke’s Course Notes / University of Virginia, Computer Science.
The Traveling Salesman Problem Over Seventy Years of Research, and a Million in Cash Presented by Vladimir Coxall.
CSE 589 Part VI. Reading Skiena, Sections 5.5 and 6.8 CLR, chapter 37.
CIRCUITS, PATHS, AND SCHEDULES Euler and Königsberg.
Euler Paths and Circuits. The original problem A resident of Konigsberg wrote to Leonard Euler saying that a popular pastime for couples was to try.
NPC.
David Luebke 1 2/18/2016 CS 332: Algorithms NP Completeness Continued: Reductions.
Computational Complexity Shirley Moore CS4390/5390 Fall 2013 August 27, 2013.
I can describe the differences between Hamilton and Euler circuits and find efficient Hamilton circuits in graphs. Hamilton Circuits I can compare and.
Excursions in Modern Mathematics, 7e: Copyright © 2010 Pearson Education, Inc. 6 The Mathematics of Touring 6.1Hamilton Paths and Hamilton Circuits.
Chapter 14 Section 3 - Slide 1 Copyright © 2009 Pearson Education, Inc. AND.
Ch3 /Lecture #4 Brute Force and Exhaustive Search 1.
Mathematical modeling To describe or represent a real-world situation quantitatively, in mathematical language.
Traveling Salesman Problem DongChul Kim HwangRyol Ryu.
Exhaustive search Exhaustive search is simply a brute- force approach to combinatorial problems. It suggests generating each and every element of the problem.
Limitation of Computation Power – P, NP, and NP-complete
Hamilton Paths and Hamilton Circuits
Weighted Graphs and traveling Salesperson problem
Graphs Chapter 20.
EECS 203 Lecture 19 Graphs.
Richard Anderson Lectures NP-Completeness
Redraw these graphs so that none of the line intersect except at the vertices B C D E F G H.
Routing Through Networks - 1
EECS 203 Lecture 20 More Graphs.
1 The Travelling Salesman Problem (TSP) H.P. Williams Professor of Operational Research London School of Economics.
Graph Theory.
Chapter 2: Business Efficiency Business Efficiency
Heuristic Algorithms via VBA
3. Brute Force Selection sort Brute-Force string matching
3. Brute Force Selection sort Brute-Force string matching
Heuristic Algorithms via VBA
Heuristic Algorithms via VBA
CSC 380: Design and Analysis of Algorithms
Approximation Algorithms
Shortest Route Problems
3. Brute Force Selection sort Brute-Force string matching
Presentation transcript:

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

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

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?

Definitions

 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

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

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

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.

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

History  1962 Proctor and Gamble Contest

History

 Timeline: – cities – cities – cities – cities – cities – cities – cities – cities – 19871,002 cities – 19872,392 cities

History  Concorde Timeline: – 19923,038 cities – 19934,461 cities – 19947,397 cities – ,509 cities – ,112 cities – ,978 cities – ,810 cities – ,900 cities

Examples  Use a greedy algorithm to solve TSP?

Examples

 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

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

Examples

West

Examples

West

Examples

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?)

Applications

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

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

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

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

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, Print.  Tomescu, Ioan, et al. Problems in Combinatorics and Graph Theory. London: Wiley, Print.  West, Douglas B. Introduction to Graph Theory. Upper Saddle River: Prentice Hall, Print

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

Homework 2

Homework 3