The Traveling Salesman Problem Over Seventy Years of Research, and a Million in Cash Presented by Vladimir Coxall.

Slides:



Advertisements
Similar presentations
Instructor Neelima Gupta Table of Contents Approximation Algorithms.
Advertisements

Design and Analysis of Algorithms Approximation algorithms for NP-complete problems Haidong Xue Summer 2012, at GSU.
Great Theoretical Ideas in Computer Science for Some.
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.
Approximation Algorithms for TSP
1 The TSP : Approximation and Hardness of Approximation All exact science is dominated by the idea of approximation. -- Bertrand Russell ( )
NP-Complete Problems Polynomial time vs exponential time
Chapter 15 Graph Theory © 2008 Pearson Addison-Wesley. All rights reserved.
Combinatorial Algorithms
Minimum Spanning Trees Kun-Mao Chao ( 趙坤茂 ) Department of Computer Science and Information Engineering National Taiwan University, Taiwan
1 Discrete Structures & Algorithms Graphs and Trees: II EECE 320.
Introduction to Approximation Algorithms Lecture 12: Mar 1.
Approximation Algorithms: Combinatorial Approaches Lecture 13: March 2.
Approximation Algorithms: Concepts Approximation algorithm: An algorithm that returns near-optimal solutions (i.e. is "provably good“) is called an approximation.
1 Optimization problems such as MAXSAT, MIN NODE COVER, MAX INDEPENDENT SET, MAX CLIQUE, MIN SET COVER, TSP, KNAPSACK, BINPACKING do not have a polynomial.
Approximation Algorithms Lecture for CS 302. What is a NP problem? Given an instance of the problem, V, and a ‘certificate’, C, we can verify V is in.
1 Assignment 4. This one is cancelled since there is a solution on website. I new assignment will be given on Nov. 28. (Due on Friday of Week 14. Drop.
1 NP-Complete Problems Polynomial time vs exponential time –Polynomial O(n k ), where n is the input size (e.g., number of nodes in a graph, the length.
NP-Complete Problems (Fun part)
1 Combinatorial Dominance Analysis Keywords: Combinatorial Optimization (CO) Approximation Algorithms (AA) Approximation Ratio (a.r) Combinatorial Dominance.
The Traveling Salesperson Problem
Solution methods for Discrete Optimization Problems.
Approximation Algorithms Motivation and Definitions TSP Vertex Cover Scheduling.
1 NP-Complete Problems (Fun part) Polynomial time vs exponential time –Polynomial O(n k ), where n is the input size (e.g., number of nodes in a graph,
1 Traveling Salesman Problem Algorithms and Networks 2014/2015 Hans L. Bodlaender Johan M. M. van Rooij.
Programming & Data Structures
1 Chapter 11 Approximation Algorithms Slides by Kevin Wayne Pearson-Addison Wesley. All rights reserved.
Hon Wai Leong, NUS (CS6234, Spring 2009) Page 1 Copyright © 2009 by Leong Hon Wai CS6234 Lecture 1 -- (14-Jan-09) “Introduction”  Combinatorial Optimization.
Theory of Computing Lecture 10 MAS 714 Hartmut Klauck.
Algorithms for Network Optimization Problems This handout: Minimum Spanning Tree Problem Approximation Algorithms Traveling Salesman Problem.
1 Introduction to Approximation Algorithms. 2 NP-completeness Do your best then.
The Traveling Salesperson Problem Algorithms and Networks.
The Traveling Salesman Problem Approximation
University of Texas at Arlington Srikanth Vadada Kishan Kumar B P Fall CSE 5311 Solving Travelling Salesman Problem for Metric Graphs using MST.
1 The TSP : NP-Completeness Approximation and Hardness of Approximation All exact science is dominated by the idea of approximation. -- Bertrand Russell.
Graph Theory Hamilton Paths and Hamilton Circuits.
Great Theoretical Ideas in Computer Science.
CSE 589 Part VI. Reading Skiena, Sections 5.5 and 6.8 CLR, chapter 37.
Projects Network Theory VLSI PSM 1. Network 1. Steiner trees
Approximation Algorithms for TSP Tsvi Kopelowitz 1.
1 Travelling Salesman Problem Algorithms and Networks 2015/2016 Hans L. Bodlaender Johan M. M. van Rooij.
Graphs and MSTs Sections 1.4 and 9.1. Partial-Order Relations Everybody is not related to everybody. Examples? Direct road connections between locations.
Week 13 - Monday.  What did we talk about last time?  B-trees  Hamiltonian tour  Traveling Salesman Problem.
Approximation Algorithms
Approximation Algorithms by bounding the OPT Instructor Neelima Gupta
Chapter 14 Section 3 - Slide 1 Copyright © 2009 Pearson Education, Inc. AND.
Instructor Neelima Gupta Table of Contents Introduction to Approximation Algorithms Factor 2 approximation algorithm for TSP Factor.
Traveling Salesman Problem DongChul Kim HwangRyol Ryu.
EMIS 8373: Integer Programming Combinatorial Optimization Problems updated 27 January 2005.
11/30/2006 Travelling Salesman Problem Sebastian Dittmann COSC 6111 Advanced Design and Analysis of Algorithms.
TU/e Algorithms (2IL15) – Lecture 11 1 Approximation Algorithms.
EMIS 8373: Integer Programming
Week 10 - Monday CS 113.
Optimization problems such as
Routing Through Networks - 1
Hamiltonian Cycle and TSP
Hamiltonian Cycle and TSP
Week 11 - Monday CS221.
EECS 203 Lecture 20 More Graphs.
Approximation Algorithms for TSP
Minimum Spanning Trees
Minimum Spanning Trees
The Traveling Salesperson Problem
ICS 353: Design and Analysis of Algorithms
Minimum Spanning Trees
Traveling Salesman Problems Nearest Neighbor Method
Approximation Algorithms
Minimum Spanning Trees
Lecture 24 Vertex Cover and Hamiltonian Cycle
Presentation transcript:

The Traveling Salesman Problem Over Seventy Years of Research, and a Million in Cash Presented by Vladimir Coxall

Formulation The Traveling Salesman Problem is a deceptively simple combinatorial problem: “Given a set of cities and the distances between them, how can a salesman visit them minimizing the distance traveled?” In terms of graph theory, it means finding the shortest Hamiltonian cycle of a graph G.

History of the TSP The general form of TSP problem was considered by mathematicians in the 1930's During 1950's and 1960's it gained popularity in scientific circles Researchers from RAND Corporation create a method to optimally solve TSP for 49 cities In 1972, Karp proves that TSP is NP complete

Applications Transportation School Bus Routes Traveling Salesman Technology Microchip Manufacturing Network Engineering Biological Genome Sequencing

Finding a Solution Given a problem that has such wide reaching applications, how can we come up with an optimal solution? Recall that Karp proved that the Traveling Salesman Problem is NP Complete...

NP Complete A problem C is NP Complete if C is in NP and also NP Hard NP ~ Verifying “yes” answers in polynomial time If the TSP can be solved in polynomial time, so can all NP problems! Furthermore, this would mean P = NP

Finding a Solution There are a few general methods for finding solutions for the TSP: Brute Force Dynamic Programming Approximation

Brute Force Seems to be the obvious solution Computationally expensive - turns out to be O(n!) For n total cities, start from any city, there are n-1 choices for a second city, n-2 choices for a third... As a point of reference, 20! = × 10 18

Dynamic Programming Here's the subproblem: Let S be a subset of the cities containing 1 and at least one other city, and let j be a city in S other than one. Define C(S; j) to be the shortest path that starts from 1, visits all nodes in S, and ends up in j

Dynamic Programming for all j do C({1,j}, j) := d 1j for s := 3 to n do (the size of the subsets considered this round) for all subsets S of {1,…,n} of size n and containing 1 do  for all j ∈ S; j ≠ 1 do  {C(S,j) := min i≠ j,i ∈ S [C(S - { j }, i)+ d ij ]} opt:= min j≠1 [C({1, 2, …, n}, j)+ d 1j. O(n 2 ) (Exponential but better than brute force)

Approximation An approximation ratio (APR) is a measure of how costly an approximation of the solution is compared to the optimal solution in polynomial time Two TSP approximation methods are:  Nearest Neighbor (Greedy)  2 Approximation

Nearest Neighbor Choose the next unvisited city that is closest (simple) On average, has an APR of 1.25 There exist graphs for which NN yields the worst route (Gutin, Yeo, and Zverovich, 2002) - both in for G symmetric and asymmetric (Gutin and Yeo, 2007)

2-Approximation 2-Approximation works for Metric TSPs A TSP problem is metric if:  For any two vertices, d(u,v) = d(v,u)  The triangle inequality holds for all triples of vertices  d(u,w) ≤ d(u,v) + d(v,w)

2-Approximation 2-MST algorithm: Find the minimum spanning tree MST(G) Take MST(G) twice: T = 2 * MST(G) The graph T is Eulerian - we can traverse it visiting each edge exactly once Make shortcuts APR of 2-MST is at most 2

Find the MST and double it!

Find shortcuts

Example

Summary The TSP is a graph theory minimization problem The complexity of the problem (NP Complete) makes it difficult to solve optimally Numerous methods for approximation Solving TSP optimally sheds light on other problems (P=NP) Optimal solution carries a prize of $1 Million (Millennium Prize)

References ppt df pdf pdf