Approximating TSP Solution by MST based Graph Pyramid

Size: px
Start display at page:

Download "Approximating TSP Solution by MST based Graph Pyramid"

Transcription

1 Approximating TSP Solution by MST based Graph Pyramid Y. Haxhimusa 1,2, W. G. Kropatsch 2, Z. Pizlo 1, A. Ion 2 and A. Lehrbaum 2 1 Department of Psychological Sciences, Purdue University 2 PRIP, Vienna University of Technology Air Force of Scientific Research Supported by Austrian Science Founds P18716-N13 and S9103-N04 Proceedings of GbRPR 2007 on Pages Yll Haxhimusa (Purdue University) Approximating TSP Solution by MST based Graph Pyramid 1 / 24

2 Motivation Traveling Salesman Problem TSP Given a set of cities, find the route that visits all the cities and has the smallest cost. Humans solve TSP ( 50 cities) close to optimal and near linear [MacGregor et al., 2000] Evidence that suggests the existence of the hierarchical representations in the human vision system [Tsotsos, 1990] Yll Haxhimusa (Purdue University) Approximating TSP Solution by MST based Graph Pyramid 2 / 24

3 Motivation Multiresolution Pyramid Representation Approach Approximate the TSP Solution NOT an attempt to solve TSP optimally (review of existing methods [Gutin and Punnen, 2002]) NOT an attempt to find the best approximation method The emphasis of this talk is on emulating human performance (time and accuracy) hierarchical representation Yll Haxhimusa (Purdue University) Approximating TSP Solution by MST based Graph Pyramid 3 / 24

4 Motivation Multiresolution Pyramid Representation Approach Local to global: bottom-up reduction of resolution Global to local: top-down solution refinement Approximate the TSP solution using pyramid representation The idea 1 partition the input space 2 reduce number of cities 3 repeat until solution becomes trivial 4 refine solution top-down to the base level Algorithm Yll Haxhimusa (Purdue University) Approximating TSP Solution by MST based Graph Pyramid 4 / 24

5 Motivation Multiresolution Pyramid Representation Approach Approximate the TSP Solution using pyramid representation Gaussian pyramid [Graham et al., 1995] Quad-tree pyramid [Pizlo et al., 2005] shift variant MST-based pyramid - this talk shift in-variant Yll Haxhimusa (Purdue University) Approximating TSP Solution by MST based Graph Pyramid 5 / 24

6 Outline of the Talk Agenda 1 Motivation 2 Borůvka s Minimum Spanning Tree Algorithm 3 Approximate Solution of the Traveling Salesman Problem 4 Psychophysical Experiments and Evaluations Yll Haxhimusa (Purdue University) Approximating TSP Solution by MST based Graph Pyramid 6 / 24

7 Partition Input Space How to Organize/Partition City-Space? Graph G = (V, E): city = vertex v V ; edges e E? complete graph: E = V V Delaunay triangulation E V V and Voronoi Diagram attribute edges and vertices Yll Haxhimusa (Purdue University) Approximating TSP Solution by MST based Graph Pyramid 7 / 24

8 TSP Problem Specification Traveling Salesman Problem (TSP) Fully connected graph G = (V, E, w) and attributed by weight w costs w : e E R + Goal : Find the tour τ with the smallest overall cost w(e) min e τ If the weights are (2D) Euclidean distances (2D) E-TSP TSP (E-TSP) is hard optimization problem solution: approximation algorithms Yll Haxhimusa (Purdue University) Approximating TSP Solution by MST based Graph Pyramid 8 / 24

9 Borůvka s Minimum Spanning Tree Algorithm TSP with triangle inequality Fakts: E-TSP satisfies triangle inequality MST is a natural lower bound for the length of the optimal tour In TSP with triangle inequality, it is possible to prove upper bounds in terms of the minimum spanning tree Christofides Heuristics [Christofides, 1976] Yll Haxhimusa (Purdue University) Approximating TSP Solution by MST based Graph Pyramid 9 / 24

10 Borůvka s Minimum Spanning Tree Algorithm Minimum Spanning Tree (MST) Graph G = (V, E, w) connected weights w w : e E R + Goal : Find the spanning tree T with the smallest weight w(e) min e T Easy optimization problem solution: greedy algorithms Kruskal s [Kruskal, 1956] and Prim s algorithms [Prim, 1957] Borůvka s algorithm [Borůvka, 1926] (O( E log V )) Yll Haxhimusa (Purdue University) Approximating TSP Solution by MST based Graph Pyramid 10 / 24

11 Boru vka s Minimum Spanning Tree Algorithm MST Algorithm Boru vka s MST Algorithm [Boru vka, 1926] Input: graph G = (V, E, w) 1: MST := empty edge list 2: v V make a list of trees L 3: while there is more than one tree in L do 4: each tree T L finds the edge e with the minimum weight which connects T to G \ T and add edge e to MST 5: using edge e merge pairs of trees in L 6: end while Output: minimum spanning tree of G Yll Haxhimusa (Purdue University) Approximating TSP Solution by MST based Graph Pyramid 11 / 24

12 Borůvka s Minimum Spanning Tree Algorithm Borůvka s Algorithm and Graph Pyramid Graph contraction merges all trees T L in step 5. Step 4: called Borůvka s step G 1 graph contraction G 0 Yll Haxhimusa (Purdue University) Approximating TSP Solution by MST based Graph Pyramid 12 / 24

13 Approximate Solution of the Traveling Salesman Problem Pyramid Solution MST based approximate Algorithm for TSP Input: graph G = (V, E, w) 1: while there is more than s cities do 2: merge no more than r cites using Borůvka s step 3: end while 4: Find the trivial tour τ 5: repeat 6: refine τ : τ τ 7: until the bottom of the pyramid Output: (approximated) tour τ r, s N and 2 r 10 and s = {3, 4} Idea Yll Haxhimusa (Purdue University) Approximating TSP Solution by MST based Graph Pyramid 13 / 24

14 Approximate Solution of the Traveling Salesman Problem Top-down flow trivial tour τ super vertices Yll Haxhimusa (Purdue University) Approximating TSP Solution by MST based Graph Pyramid 14 / 24

15 Approximate Solution of the Traveling Salesman Problem Top-down flow trivial tour τ approximated tour τ Yll Haxhimusa (Purdue University) Approximating TSP Solution by MST based Graph Pyramid 14 / 24

16 Psychophysical Experiments and Evaluations Solution Errors on Random Instances Compared Human subjects MST pyramid Test set Random graphs of different sizes: 6, 10, 20, and 50 with 25 instances each MST Pyramid implementation issues s = 3 and r = 7 Yll Haxhimusa (Purdue University) Approximating TSP Solution by MST based Graph Pyramid 15 / 24

17 Psychophysical Experiments and Evaluations Solution Errors on Random Instances 10 city TSP solutions by Humans and MST Model BSL OSK MST pyramid model ZL ZP Yll Haxhimusa (Purdue University) Approximating TSP Solution by MST based Graph Pyramid 15 / 24

18 Psychophysical Experiments and Evaluations Solution Errors on Random Instances Subjects vs. MST-based Pyramid Subject: BSL Subject: OSK Subject: ZL Subject: ZP Model: MST Pyramid Subjects vs. MST-Pyramid Model 6 Solution Error (%) Number of Cities Yll Haxhimusa (Purdue University) Approximating TSP Solution by MST based Graph Pyramid 15 / 24

19 Psychophysical Experiments and Evaluations Comparing Solutions of Algorithms Concorde vs Pyramid based methods Concorde algorithm 1 [Applegate et al., 2001] Adaptive binary pyramid 2 [Pizlo et al., 2006] Quad-tree pyramid 2 [Pizlo et al., 2005] MST-based pyramid 3 Test set Random graphs of different sizes 200, 400, 600, 800, pizlo/ 3 yll/ Yll Haxhimusa (Purdue University) Approximating TSP Solution by MST based Graph Pyramid 16 / 24

20 Psychophysical Experiments and Evaluations Comparison of the Algorithms Solution Error Solution Error On Large Problems Solution Error (%) Adaptive Binary Pyramid Regular Quad Pyramid MST Pyramid Concorde Number of Cities Yll Haxhimusa (Purdue University) Approximating TSP Solution by MST based Graph Pyramid 17 / 24

21 Psychophysical Experiments and Evaluations Comparison of the Algorithms Running Time MST vs Concorde Running Normalized Time Concorde MST Pyramid Number of Cities Yll Haxhimusa (Purdue University) Approximating TSP Solution by MST based Graph Pyramid 17 / 24

22 Summary Summary Pyramid Solution of the Euclidean TSP Bottom-up reduction of the size of the problem by MST based technique Solving the trivial problem Top-down refining of the found problem MST-based pyramid solution shows similar results as the other pyramid models on random instances but shift invariant Performance of the graph pyramid model is comparable to human performance Yll Haxhimusa (Purdue University) Approximating TSP Solution by MST based Graph Pyramid 18 / 24

23 Summary Summary Partition 2D space using Delaunay Triangulation to better capture proximity Psychophysical experiments on 3D TSP Yll Haxhimusa (Purdue University) Approximating TSP Solution by MST based Graph Pyramid 18 / 24

24 Thanks you Summary Approximating TSP Solution by MST based Graph Pyramid Graph-based Representation for Pattern Recognition Workshop Alicante, Spain, June 2007 Yll Haxhimusa (Purdue University) Approximating TSP Solution by MST based Graph Pyramid 19 / 24

25 Thanks you Summary Approximating TSP Solution by MST based Graph Pyramid Graph-based Representation for Pattern Recognition Workshop Alicante, Spain, June Motivation 2 Borůvka s Minimum Spanning Tree Algorithm 3 Approximate Solution of the Traveling Salesman Problem 4 Psychophysical Experiments and Evaluations Yll Haxhimusa (Purdue University) Approximating TSP Solution by MST based Graph Pyramid 19 / 24

26 References I Selected References Jolion, J.-M. and Rosenfeld, A. (1994). A Pyramid Framework for Early Vision. Kluwer. Gutin, G., Punnen, A.P. (2002) The traveling salesman problem and its variations. Kluwer Bister, M., Cornelis, J., and Rosenfeld, A. (1990). A critical view of pyramid segmentation algorithms. Pattern Recognition Letters, 11(9): Kropatsch, W. G. (1995a). Building irregular pyramids by dual graph contraction. IEE-Proc. Vision, Image and Signal Processing, 142(6): Felzenszwalb, P. F. and Huttenlocher, D. P. (2004). Efficient graph-based image segmentation. International Journal of Computer Vision, 59(2): MacGregor, J.N., Ormerod, T.C., Chronicle, E.P.: A model of human performance on the traveling salesperson problem. Memory and Cognition 28 (2000) Tsotsos, J. K. (1990). Analyzing vision at the complexity level. Behavioral and Brain Sciences, 13(3): Yll Haxhimusa (Purdue University) Approximating TSP Solution by MST based Graph Pyramid 20 / 24

27 References II Selected References S. M. Graham, Z. Pizlo and A. Joshi. Problem Solving in Human Beings and Computers. Annual Meeting of the Society for Mathematical Psychology, Ivine, CA, Z. Pizlo, E. Stefanov, J. Saalweachter, Z. Li, Y. Haxhimusa and W. G. Kropatsch. Traveling Salesman Problem: a Foveating Pyramid Model. Journal of Problem Solving,in press, Borůvka, O. (1926). O jistém problému minimálnim (about a certain minimal problem). Práce Moravské Přírodvědecké Společnosti v Brně (Acta Societ. Scienc. Natur. Moravicae), 3(3): Kruskal, J. B. J. (1956). On the shortest spanning subtree of a graph and the travelling salesman problem. In Proc. Am. Math. Soc., volume 7, pages Prim, R. C. (1957). Shortest connection networks and some generalizations. The Bell System Technical Journal, 36: A. Aggrawal, L. J. Guibas, J. Saxe, and P.W. Shor. A Linear-Time Algorithm for Computing the Voronoi Diagram of a Convex Polygon. Discrete & Comput. Geometry, 4(6): , C. H. Papadimitriou and S. Vempala. On the approximability of the traveling salesman problem). Proceedings of STOC 2000, extended abstract, Yll Haxhimusa (Purdue University) Approximating TSP Solution by MST based Graph Pyramid 21 / 24

28 References III Selected References N. Christofides. Worst-case analysis of a new heuristic for the travelling salesman problem. Graduate School of Industrial Administration, Carnegie-Mellon University, 1976, 388. D. Applegate, R. Bixby, V. Chvatal, and W. Cook TSP cuts which do not conform to the template paradigm. Computational combinatorial optimization: optimal or provably near optimal solutions, Lecture Notes in Computer Science, 2241, M. Jünger and D. Naddef, eds., Springer, 2001, pp Z. Pizlo, E. Stefanov, J. Saalweachter, Z. Li, Y. Haxhimusa and W. G. Kropatsch. Adaptive Pyramid Model for the Traveling Salesman Problem. Workshop on Human Problem Solving, June Yll Haxhimusa (Purdue University) Approximating TSP Solution by MST based Graph Pyramid 22 / 24

Approximating TSP Solution by MST based Graph Pyramid

Approximating TSP Solution by MST based Graph Pyramid Approximating TSP Solution by MST based Graph Pyramid Y. Haxhimusa 1,2, W. G. Kropatsch 1, Z. Pizlo 2, A. Ion 1, and A. Lehrbaum 1 1 Vienna University of Technology, Faculty of Informatics, Pattern Recognition

More information

Approximating TSP Solution by MST Based Graph Pyramid

Approximating TSP Solution by MST Based Graph Pyramid Approximating TSP Solution by MST Based Graph Pyramid Yll Haxhimusa 1,2,WalterG.Kropatsch 1,ZygmuntPizlo 2,AdrianIon 1, and Andreas Lehrbaum 1 1 Vienna University of Technology, Faculty of Informatics,

More information

Traveling Salesman Problem: a Foveating Pyramid Model. Purdue University West Lafayette, IN U.S.A.

Traveling Salesman Problem: a Foveating Pyramid Model. Purdue University West Lafayette, IN U.S.A. Traveling Salesman Problem: a Foveating Pyramid Model Zygmunt Pizlo 1, Emil Stefanov 1, John Saalweachter 1, Zheng Li 1, Yll Haxhimusa 2 & Walter G. Kropatsch 2 1 Department of Psychological Sciences Purdue

More information

PATCH-BASED IMAGE SEGMENTATION OF SATELLITE IMAGERY USING MINIMUM SPANNING TREE CONSTRUCTION

PATCH-BASED IMAGE SEGMENTATION OF SATELLITE IMAGERY USING MINIMUM SPANNING TREE CONSTRUCTION PATCH-BASED IMAGE SEGMENTATION OF SATELLITE IMAGERY USING MINIMUM SPANNING TREE CONSTRUCTION A. N. Skurikhin MS D436, Space and Remote Sensing Group, Los Alamos National Laboratory, Los Alamos, NM, 87545,

More information

Considerations Regarding the Minimum Spanning Tree Pyramid Segmentation Method

Considerations Regarding the Minimum Spanning Tree Pyramid Segmentation Method Considerations Regarding the Minimum Spanning Tree Pyramid Segmentation Method (Why does it always find the lady?) Adrian Ion, Walter G. Kropatsch, and Yll Haxhimusa Vienna University of Technology, Pattern

More information

Journal of Problem Solving The Role of Problem Representation in Producing Near-Optimal TSP Tours

Journal of Problem Solving The Role of Problem Representation in Producing Near-Optimal TSP Tours Journal of Problem Solving The Role of Problem Representation in Producing Near-Optimal TSP Tours Pierson Fleischer, Sébastien Hélie, and Zygmunt Pizlo Purdue University Correspondence: Correspondence

More information

Simulating Human Performance on the Traveling Salesman Problem Abstract Introduction

Simulating Human Performance on the Traveling Salesman Problem Abstract Introduction Simulating Human Performance on the Traveling Salesman Problem Bradley J. Best (bjbest@cmu.edu), Herbert A. Simon (Herb_Simon@v.gp.cs.cmu.edu) Carnegie Mellon University Department of Psychology Pittsburgh,

More information

Clustering Strategy to Euclidean TSP

Clustering Strategy to Euclidean TSP 2010 Second International Conference on Computer Modeling and Simulation Clustering Strategy to Euclidean TSP Hamilton Path Role in Tour Construction Abdulah Fajar, Nur Azman Abu, Nanna Suryana Herman

More information

Design and Analysis of Algorithms

Design and Analysis of Algorithms CSE 101, Winter 2018 Design and Analysis of Algorithms Lecture 9: Minimum Spanning Trees Class URL: http://vlsicad.ucsd.edu/courses/cse101-w18/ Goal: MST cut and cycle properties Prim, Kruskal greedy algorithms

More information

OBJECT-ORIENTED HIERARCHICAL IMAGE VECTORIZATION

OBJECT-ORIENTED HIERARCHICAL IMAGE VECTORIZATION OBJECT-ORIENTED HIERARCHICAL IMAGE VECTORIZATION A. N. Skurikhin a, *, P. L. Volegov b a MS D436, Space and Remote Sensing Group, Los Alamos National Laboratory, Los Alamos, NM, 87545, USA - alexei@lanl.gov

More information

Journal of Problem Solving Solving Large Problems with a Small Working Memory

Journal of Problem Solving Solving Large Problems with a Small Working Memory Research Article Journal of Problem Solving Solving Large Problems with a Small Working Memory Zygmunt Pizlo 1 and Emil Stefanov 1 1 Department of Psychological Sciences, Purdue University Correspondence:

More information

Seismic Vessel Problem

Seismic Vessel Problem Seismic Vessel Problem Gregory Gutin, Helmut Jakubowicz, Shuki Ronen and Alexei Zverovitch November 14, 2003 Abstract We introduce and study a new combinatorial optimization problem, the Seismic Vessel

More information

val(y, I) α (9.0.2) α (9.0.3)

val(y, I) α (9.0.2) α (9.0.3) CS787: Advanced Algorithms Lecture 9: Approximation Algorithms In this lecture we will discuss some NP-complete optimization problems and give algorithms for solving them that produce a nearly optimal,

More information

Introduction to Approximation Algorithms

Introduction to Approximation Algorithms Introduction to Approximation Algorithms Dr. Gautam K. Das Departmet of Mathematics Indian Institute of Technology Guwahati, India gkd@iitg.ernet.in February 19, 2016 Outline of the lecture Background

More information

1 The Traveling Salesman Problem

1 The Traveling Salesman Problem Comp 260: Advanced Algorithms Tufts University, Spring 2011 Prof. Lenore Cowen Scribe: Jisoo Park Lecture 3: The Traveling Salesman Problem 1 The Traveling Salesman Problem The Traveling Salesman Problem

More information

Part 3: Handling Intractability - a brief introduction

Part 3: Handling Intractability - a brief introduction COMP36111: Advanced Algorithms I Part 3: Handling Intractability - a brief introduction Howard Barringer Room KB2.20: email: howard.barringer@manchester.ac.uk December 2010 Introduction Course Structure

More information

An Experimental Evaluation of the Best-of-Many Christofides Algorithm for the Traveling Salesman Problem

An Experimental Evaluation of the Best-of-Many Christofides Algorithm for the Traveling Salesman Problem An Experimental Evaluation of the Best-of-Many Christofides Algorithm for the Traveling Salesman Problem David P. Williamson Cornell University Joint work with Kyle Genova, Cornell University July 14,

More information

Approximation Algorithms

Approximation Algorithms Chapter 8 Approximation Algorithms Algorithm Theory WS 2016/17 Fabian Kuhn Approximation Algorithms Optimization appears everywhere in computer science We have seen many examples, e.g.: scheduling jobs

More information

1 The Traveling Salesman Problem

1 The Traveling Salesman Problem Comp 260: Advanced Algorithms Tufts University, Spring 2018 Prof. Lenore Cowen Scribe: Duc Nguyen Lecture 3a: The Traveling Salesman Problem 1 The Traveling Salesman Problem The Traveling Salesman Problem

More information

CS261: A Second Course in Algorithms Lecture #16: The Traveling Salesman Problem

CS261: A Second Course in Algorithms Lecture #16: The Traveling Salesman Problem CS61: A Second Course in Algorithms Lecture #16: The Traveling Salesman Problem Tim Roughgarden February 5, 016 1 The Traveling Salesman Problem (TSP) In this lecture we study a famous computational problem,

More information

Recent PTAS Algorithms on the Euclidean TSP

Recent PTAS Algorithms on the Euclidean TSP Recent PTAS Algorithms on the Euclidean TSP by Leonardo Zambito Submitted as a project for CSE 4080, Fall 2006 1 Introduction The Traveling Salesman Problem, or TSP, is an on going study in computer science.

More information

CAD Algorithms. Categorizing Algorithms

CAD Algorithms. Categorizing Algorithms CAD Algorithms Categorizing Algorithms Mohammad Tehranipoor ECE Department 2 September 2008 1 Categorizing Algorithms Greedy Algorithms Prim s Algorithm (Minimum Spanning Tree) A subgraph that is a tree

More information

A Parallel Ring Method for Solving a Large-scale Traveling Salesman Problem

A Parallel Ring Method for Solving a Large-scale Traveling Salesman Problem I.J. Information Technology and Computer Science, 2016, 5, 1-12 Published Online May 2016 in MECS (http://www.mecs-press.org/) DOI: 10.5815/ijitcs.2016.05.01 A Parallel Ring Method for Solving a Large-scale

More information

Theorem 2.9: nearest addition algorithm

Theorem 2.9: nearest addition algorithm There are severe limits on our ability to compute near-optimal tours It is NP-complete to decide whether a given undirected =(,)has a Hamiltonian cycle An approximation algorithm for the TSP can be used

More information

Tolerance based Greedy Heuristics for the Asymmetric TSP. Gerold Jäger Martin Luther University Halle-Wittenberg

Tolerance based Greedy Heuristics for the Asymmetric TSP. Gerold Jäger Martin Luther University Halle-Wittenberg Tolerance based Greedy Heuristics for the Asymmetric TSP Gerold Jäger Martin Luther University Halle-Wittenberg Cooperation with Boris Goldengorin DFG Project: Paul Molitor December 21, 200 Overview 1

More information

Optimal tree for Genetic Algorithms in the Traveling Salesman Problem (TSP).

Optimal tree for Genetic Algorithms in the Traveling Salesman Problem (TSP). Optimal tree for Genetic Algorithms in the Traveling Salesman Problem (TSP). Liew Sing liews_ryan@yahoo.com.sg April 1, 2012 Abstract In this paper, the author proposes optimal tree as a gauge for the

More information

Theory of Computing. Lecture 10 MAS 714 Hartmut Klauck

Theory of Computing. Lecture 10 MAS 714 Hartmut Klauck Theory of Computing Lecture 10 MAS 714 Hartmut Klauck Seven Bridges of Königsberg Can one take a walk that crosses each bridge exactly once? Seven Bridges of Königsberg Model as a graph Is there a path

More information

Optimal tour along pubs in the UK

Optimal tour along pubs in the UK 1 From Facebook Optimal tour along 24727 pubs in the UK Road distance (by google maps) see also http://www.math.uwaterloo.ca/tsp/pubs/index.html (part of TSP homepage http://www.math.uwaterloo.ca/tsp/

More information

CMSC 451: Lecture 22 Approximation Algorithms: Vertex Cover and TSP Tuesday, Dec 5, 2017

CMSC 451: Lecture 22 Approximation Algorithms: Vertex Cover and TSP Tuesday, Dec 5, 2017 CMSC 451: Lecture 22 Approximation Algorithms: Vertex Cover and TSP Tuesday, Dec 5, 2017 Reading: Section 9.2 of DPV. Section 11.3 of KT presents a different approximation algorithm for Vertex Cover. Coping

More information

Lecture 1. Introduction

Lecture 1. Introduction Lecture 1 Introduction 1 Lecture Contents 1. What is an algorithm? 2. Fundamentals of Algorithmic Problem Solving 3. Important Problem Types 4. Fundamental Data Structures 2 1. What is an Algorithm? Algorithm

More information

Minimum-weight tree shortcutting for Metric TSP

Minimum-weight tree shortcutting for Metric TSP Minimum-weight tree shortcutting for Metric TSP 2 Vladimir Deineko and Alexander Tiskin Warwick Business School and Department of Computer Science University of Warwick Deineko and Tiskin (Warwick) Min

More information

5/30/13. Guarding, Searching and Pursuing Evaders using Multiagent Systems. Todays topics. Example Scenario. Todays topics

5/30/13. Guarding, Searching and Pursuing Evaders using Multiagent Systems. Todays topics. Example Scenario. Todays topics //13 Guarding, Searching and Pursuing Evaders using Multiagent Systems Petter Ögren Computer Vision and Active Perception (CVAP) Airport Power plant Military base Port Factory Example Scenario This field

More information

2 Approximation Algorithms for Metric TSP

2 Approximation Algorithms for Metric TSP Comp260: Advanced Algorithms Tufts University, Spring 2002 Professor Lenore Cowen Scribe: Stephanie Tauber Lecture 3: The Travelling Salesman Problem (TSP) 1 Introduction A salesman wishes to visit every

More information

6.889 Lecture 15: Traveling Salesman (TSP)

6.889 Lecture 15: Traveling Salesman (TSP) 6.889 Lecture 15: Traveling Salesman (TSP) Christian Sommer csom@mit.edu (figures by Philip Klein) November 2, 2011 Traveling Salesman Problem (TSP) given G = (V, E) find a tour visiting each 1 node v

More information

Lecture 8: The Traveling Salesman Problem

Lecture 8: The Traveling Salesman Problem Lecture 8: The Traveling Salesman Problem Let G = (V, E) be an undirected graph. A Hamiltonian cycle of G is a cycle that visits every vertex v V exactly once. Instead of Hamiltonian cycle, we sometimes

More information

V1.0: Seth Gilbert, V1.1: Steven Halim August 30, Abstract. d(e), and we assume that the distance function is non-negative (i.e., d(x, y) 0).

V1.0: Seth Gilbert, V1.1: Steven Halim August 30, Abstract. d(e), and we assume that the distance function is non-negative (i.e., d(x, y) 0). CS4234: Optimisation Algorithms Lecture 4 TRAVELLING-SALESMAN-PROBLEM (4 variants) V1.0: Seth Gilbert, V1.1: Steven Halim August 30, 2016 Abstract The goal of the TRAVELLING-SALESMAN-PROBLEM is to find

More information

1 Minimum Spanning Trees: History

1 Minimum Spanning Trees: History -80: Advanced Algorithms CMU, Spring 07 Lecture #: Deterministic MSTs January, 07 Lecturer: Anupam Gupta Scribe: Anshu Bansal, C.J. Argue Minimum Spanning Trees: History The minimum spanning tree problem

More information

1 Minimum Spanning Trees (MST) b 2 3 a. 10 e h. j m

1 Minimum Spanning Trees (MST) b 2 3 a. 10 e h. j m Minimum Spanning Trees (MST) 8 0 e 7 b 3 a 5 d 9 h i g c 8 7 6 3 f j 9 6 k l 5 m A graph H(U,F) is a subgraph of G(V,E) if U V and F E. A subgraph H(U,F) is called spanning if U = V. Let G be a graph with

More information

Mathematical Tools for Engineering and Management

Mathematical Tools for Engineering and Management Mathematical Tools for Engineering and Management Lecture 8 8 Dec 0 Overview Models, Data and Algorithms Linear Optimization Mathematical Background: Polyhedra, Simplex-Algorithm Sensitivity Analysis;

More information

Effective Tour Searching for Large TSP Instances. Gerold Jäger

Effective Tour Searching for Large TSP Instances. Gerold Jäger Effective Tour Searching for Large TSP Instances Gerold Jäger Martin-Luther-University Halle-Wittenberg (Germany) joint work with Changxing Dong, Paul Molitor, Dirk Richter German Research Foundation Grant

More information

Notes for Recitation 9

Notes for Recitation 9 6.042/18.062J Mathematics for Computer Science October 8, 2010 Tom Leighton and Marten van Dijk Notes for Recitation 9 1 Traveling Salesperson Problem Now we re going to talk about a famous optimization

More information

Using Python to Solve Computationally Hard Problems

Using Python to Solve Computationally Hard Problems Using Python to Solve Computationally Hard Problems Using Python to Solve Computationally Hard Problems Rachael Madsen Optimal Design Software LLC BS in Mathematics Software Engineer & Architect Python

More information

Grouping and Segmentation in a Hierarchy of Graphs

Grouping and Segmentation in a Hierarchy of Graphs Grouping and Segmentation in a Hierarchy of Graphs Walter G. Kropatsch and Yll Haxhimusa Pattern Recognition and Image Processing Group 183/2, Institute for Computer Aided Automation, Vienna University

More information

Effective Tour Searching for Large TSP Instances. Gerold Jäger

Effective Tour Searching for Large TSP Instances. Gerold Jäger Effective Tour Searching for Large TSP Instances Gerold Jäger Martin-Luther-University Halle-Wittenberg joint work with Changxing Dong, Paul Molitor, Dirk Richter November 14, 2008 Overview 1 Introduction

More information

CS270 Combinatorial Algorithms & Data Structures Spring Lecture 19:

CS270 Combinatorial Algorithms & Data Structures Spring Lecture 19: CS270 Combinatorial Algorithms & Data Structures Spring 2003 Lecture 19: 4.1.03 Lecturer: Satish Rao Scribes: Kevin Lacker and Bill Kramer Disclaimer: These notes have not been subjected to the usual scrutiny

More information

A 4-Approximation Algorithm for k-prize Collecting Steiner Tree Problems

A 4-Approximation Algorithm for k-prize Collecting Steiner Tree Problems arxiv:1802.06564v1 [cs.cc] 19 Feb 2018 A 4-Approximation Algorithm for k-prize Collecting Steiner Tree Problems Yusa Matsuda and Satoshi Takahashi The University of Electro-Communications, Japan February

More information

6. Concluding Remarks

6. Concluding Remarks [8] K. J. Supowit, The relative neighborhood graph with an application to minimum spanning trees, Tech. Rept., Department of Computer Science, University of Illinois, Urbana-Champaign, August 1980, also

More information

Chapter 9. Greedy Technique. Copyright 2007 Pearson Addison-Wesley. All rights reserved.

Chapter 9. Greedy Technique. Copyright 2007 Pearson Addison-Wesley. All rights reserved. Chapter 9 Greedy Technique Copyright 2007 Pearson Addison-Wesley. All rights reserved. Greedy Technique Constructs a solution to an optimization problem piece by piece through a sequence of choices that

More information

A Theoretical Framework to Solve the TSPs as Classification Problems and Shortest Hamiltonian Path Problems

A Theoretical Framework to Solve the TSPs as Classification Problems and Shortest Hamiltonian Path Problems American Journal of Intelligent Systems 2014, 4(1): 1-8 DOI: 10.5923/j.ajis.20140401.01 A Theoretical Framework to Solve the TSPs as Classification Problems and Shortest Hamiltonian Path Problems Akihiko

More information

Design and Analysis of Algorithms

Design and Analysis of Algorithms CSE 101, Winter 018 D/Q Greed SP s DP LP, Flow B&B, Backtrack Metaheuristics P, NP Design and Analysis of Algorithms Lecture 8: Greed Class URL: http://vlsicad.ucsd.edu/courses/cse101-w18/ Optimization

More information

COMP 355 Advanced Algorithms Approximation Algorithms: VC and TSP Chapter 11 (KT) Section (CLRS)

COMP 355 Advanced Algorithms Approximation Algorithms: VC and TSP Chapter 11 (KT) Section (CLRS) COMP 355 Advanced Algorithms Approximation Algorithms: VC and TSP Chapter 11 (KT) Section 35.1-35.2(CLRS) 1 Coping with NP-Completeness Brute-force search: This is usually only a viable option for small

More information

Computational Geometry. Algorithm Design (10) Computational Geometry. Convex Hull. Areas in Computational Geometry

Computational Geometry. Algorithm Design (10) Computational Geometry. Convex Hull. Areas in Computational Geometry Computational Geometry Algorithm Design (10) Computational Geometry Graduate School of Engineering Takashi Chikayama Algorithms formulated as geometry problems Broad application areas Computer Graphics,

More information

(Refer Slide Time: 01:00)

(Refer Slide Time: 01:00) Advanced Operations Research Prof. G. Srinivasan Department of Management Studies Indian Institute of Technology, Madras Lecture minus 26 Heuristics for TSP In this lecture, we continue our discussion

More information

Minimum Spanning Trees COSC 594: Graph Algorithms Spring By Kevin Chiang and Parker Tooley

Minimum Spanning Trees COSC 594: Graph Algorithms Spring By Kevin Chiang and Parker Tooley Minimum Spanning Trees COSC 594: Graph Algorithms Spring 2017 By Kevin Chiang and Parker Tooley Test Questions 1. What is one NP-Hard problem for which Minimum Spanning Trees is a good approximation for?

More information

Chapter 9 Graph Algorithms

Chapter 9 Graph Algorithms Chapter 9 Graph Algorithms 2 Introduction graph theory useful in practice represent many real-life problems can be if not careful with data structures 3 Definitions an undirected graph G = (V, E) is a

More information

1 The Traveling Salesperson Problem (TSP)

1 The Traveling Salesperson Problem (TSP) CS 598CSC: Approximation Algorithms Lecture date: January 23, 2009 Instructor: Chandra Chekuri Scribe: Sungjin Im In the previous lecture, we had a quick overview of several basic aspects of approximation

More information

The Subtour LP for the Traveling Salesman Problem

The Subtour LP for the Traveling Salesman Problem The Subtour LP for the Traveling Salesman Problem David P. Williamson Cornell University November 22, 2011 Joint work with Jiawei Qian, Frans Schalekamp, and Anke van Zuylen The Traveling Salesman Problem

More information

Chapter 9 Graph Algorithms

Chapter 9 Graph Algorithms Introduction graph theory useful in practice represent many real-life problems can be if not careful with data structures Chapter 9 Graph s 2 Definitions Definitions an undirected graph is a finite set

More information

Outline. CS38 Introduction to Algorithms. Approximation Algorithms. Optimization Problems. Set Cover. Set cover 5/29/2014. coping with intractibility

Outline. CS38 Introduction to Algorithms. Approximation Algorithms. Optimization Problems. Set Cover. Set cover 5/29/2014. coping with intractibility Outline CS38 Introduction to Algorithms Lecture 18 May 29, 2014 coping with intractibility approximation algorithms set cover TSP center selection randomness in algorithms May 29, 2014 CS38 Lecture 18

More information

Improving the Held and Karp Approach with Constraint Programming

Improving the Held and Karp Approach with Constraint Programming Improving the Held and Karp Approach with Constraint Programming Pascal Benchimol 1, Jean-Charles Régin 2, Louis-Martin Rousseau 1, Michel Rueher 2, Willem-Jan van Hoeve 3 1 CIRRELT,École Polytechnique

More information

Polynomial Time Approximation Schemes for the Euclidean Traveling Salesman Problem

Polynomial Time Approximation Schemes for the Euclidean Traveling Salesman Problem PROJECT FOR CS388G: ALGORITHMS: TECHNIQUES/THEORY (FALL 2015) Polynomial Time Approximation Schemes for the Euclidean Traveling Salesman Problem Shanshan Wu Vatsal Shah October 20, 2015 Abstract In this

More information

Graphs: Introduction. Ali Shokoufandeh, Department of Computer Science, Drexel University

Graphs: Introduction. Ali Shokoufandeh, Department of Computer Science, Drexel University Graphs: Introduction Ali Shokoufandeh, Department of Computer Science, Drexel University Overview of this talk Introduction: Notations and Definitions Graphs and Modeling Algorithmic Graph Theory and Combinatorial

More information

CS 664 Segmentation. Daniel Huttenlocher

CS 664 Segmentation. Daniel Huttenlocher CS 664 Segmentation Daniel Huttenlocher Grouping Perceptual Organization Structural relationships between tokens Parallelism, symmetry, alignment Similarity of token properties Often strong psychophysical

More information

10/31/18. About A6, Prelim 2. Spanning Trees, greedy algorithms. Facts about trees. Undirected trees

10/31/18. About A6, Prelim 2. Spanning Trees, greedy algorithms. Facts about trees. Undirected trees //8 About A, Prelim Spanning Trees, greedy algorithms Lecture CS Fall 8 Prelim : Thursday, November. Visit exams page of course website and read carefully to find out when you take it (: or 7:) and what

More information

Spanning Trees, greedy algorithms. Lecture 20 CS2110 Fall 2018

Spanning Trees, greedy algorithms. Lecture 20 CS2110 Fall 2018 1 Spanning Trees, greedy algorithms Lecture 20 CS2110 Fall 2018 1 About A6, Prelim 2 Prelim 2: Thursday, 15 November. Visit exams page of course website and read carefully to find out when you take it

More information

Partha Sarathi Mandal

Partha Sarathi Mandal MA 515: Introduction to Algorithms & MA353 : Design and Analysis of Algorithms [3-0-0-6] Lecture 39 http://www.iitg.ernet.in/psm/indexing_ma353/y09/index.html Partha Sarathi Mandal psm@iitg.ernet.in Dept.

More information

Vertex Cover Approximations

Vertex Cover Approximations CS124 Lecture 20 Heuristics can be useful in practice, but sometimes we would like to have guarantees. Approximation algorithms give guarantees. It is worth keeping in mind that sometimes approximation

More information

Questions... How does one show the first problem is NP-complete? What goes on in a reduction? How hard are NP-complete problems?

Questions... How does one show the first problem is NP-complete? What goes on in a reduction? How hard are NP-complete problems? Even More NP Questions... How does one show the first problem is NP-complete? What goes on in a reduction? How hard are NP-complete problems? Reduction We say that problem A reduces to problem B, if there

More information

Polynomial time approximation algorithms

Polynomial time approximation algorithms Polynomial time approximation algorithms Doctoral course Optimization on graphs - Lecture 5.2 Giovanni Righini January 18 th, 2013 Approximation algorithms There are several reasons for using approximation

More information

Travelling Salesman Problem. Algorithms and Networks 2015/2016 Hans L. Bodlaender Johan M. M. van Rooij

Travelling Salesman Problem. Algorithms and Networks 2015/2016 Hans L. Bodlaender Johan M. M. van Rooij Travelling Salesman Problem Algorithms and Networks 2015/2016 Hans L. Bodlaender Johan M. M. van Rooij 1 Contents TSP and its applications Heuristics and approximation algorithms Construction heuristics,

More information

Unit 8: Coping with NP-Completeness. Complexity classes Reducibility and NP-completeness proofs Coping with NP-complete problems. Y.-W.

Unit 8: Coping with NP-Completeness. Complexity classes Reducibility and NP-completeness proofs Coping with NP-complete problems. Y.-W. : Coping with NP-Completeness Course contents: Complexity classes Reducibility and NP-completeness proofs Coping with NP-complete problems Reading: Chapter 34 Chapter 35.1, 35.2 Y.-W. Chang 1 Complexity

More information

Traveling Salesman Problem. Algorithms and Networks 2014/2015 Hans L. Bodlaender Johan M. M. van Rooij

Traveling Salesman Problem. Algorithms and Networks 2014/2015 Hans L. Bodlaender Johan M. M. van Rooij Traveling Salesman Problem Algorithms and Networks 2014/2015 Hans L. Bodlaender Johan M. M. van Rooij 1 Contents TSP and its applications Heuristics and approximation algorithms Construction heuristics,

More information

The Traveling Salesman Problem: State of the Art

The Traveling Salesman Problem: State of the Art The Traveling Salesman Problem: State of the Art Thomas Stützle stuetzle@informatik.tu-darmstadt.de http://www.intellektik.informatik.tu-darmstadt.de/ tom. Darmstadt University of Technology Department

More information

The Art Gallery Problem

The Art Gallery Problem The Art Gallery Problem Connor Bohlken Nebraska Wesleyan University cbohlken@nebrwesleyan.edu May 11, 2016 Abstract Given a polygonal art gallery of n vertices, how many security guards are necessary to

More information

Notes for Lecture 24

Notes for Lecture 24 U.C. Berkeley CS170: Intro to CS Theory Handout N24 Professor Luca Trevisan December 4, 2001 Notes for Lecture 24 1 Some NP-complete Numerical Problems 1.1 Subset Sum The Subset Sum problem is defined

More information

JOURNAL OF OBJECT TECHNOLOGY

JOURNAL OF OBJECT TECHNOLOGY JOURNAL OF OBJECT TECHNOLOGY Online at http://www.jot.fm. Published by ETH Zurich, Chair of Software Engineering JOT, 2005 Vol. 4, No. 1, January-February 2005 A Java Implementation of the Branch and Bound

More information

Networks: Lecture 2. Outline

Networks: Lecture 2. Outline Networks: Lecture Amedeo R. Odoni November 0, 00 Outline Generic heuristics for the TSP Euclidean TSP: tour construction, tour improvement, hybrids Worst-case performance Probabilistic analysis and asymptotic

More information

Algorithms for Minimum Spanning Trees

Algorithms for Minimum Spanning Trees Algorithms & Models of Computation CS/ECE, Fall Algorithms for Minimum Spanning Trees Lecture Thursday, November, Part I Algorithms for Minimum Spanning Tree Sariel Har-Peled (UIUC) CS Fall / 6 Sariel

More information

SOME GREEDY BASED ALGORITHMS FOR MULTI PERIODS DEGREE CONSTRAINED MINIMUM SPANNING TREE PROBLEM

SOME GREEDY BASED ALGORITHMS FOR MULTI PERIODS DEGREE CONSTRAINED MINIMUM SPANNING TREE PROBLEM SOME GREEDY BASED ALGORITHMS FOR MULTI PERIODS DEGREE CONSTRAINED MINIMUM SPANNING TREE PROBLEM Wamiliana 1, Faiz A. M. Elfaki 2, Mustofa Usman 1 and M. Azram 2 1 Department of Mathematics, Faculty of

More information

Autumn Minimum Spanning Tree Disjoint Union / Find Traveling Salesman Problem

Autumn Minimum Spanning Tree Disjoint Union / Find Traveling Salesman Problem Autumn Minimum Spanning Tree Disjoint Union / Find Traveling Salesman Problem Input: Undirected Graph G = (V,E) and a cost function C from E to the reals. C(e) is the cost of edge e. Output: A spanning

More information

Traveling Salesperson Problem (TSP)

Traveling Salesperson Problem (TSP) TSP-0 Traveling Salesperson Problem (TSP) Input: Undirected edge weighted complete graph G = (V, E, W ), where W : e R +. Tour: Find a path that starts at vertex 1, visits every vertex exactly once, and

More information

CS599: Convex and Combinatorial Optimization Fall 2013 Lecture 14: Combinatorial Problems as Linear Programs I. Instructor: Shaddin Dughmi

CS599: Convex and Combinatorial Optimization Fall 2013 Lecture 14: Combinatorial Problems as Linear Programs I. Instructor: Shaddin Dughmi CS599: Convex and Combinatorial Optimization Fall 2013 Lecture 14: Combinatorial Problems as Linear Programs I Instructor: Shaddin Dughmi Announcements Posted solutions to HW1 Today: Combinatorial problems

More information

Two new variants of Christofides heuristic for the Static TSP and a computational study of a nearest neighbor approach for the Dynamic TSP

Two new variants of Christofides heuristic for the Static TSP and a computational study of a nearest neighbor approach for the Dynamic TSP Two new variants of Christofides heuristic for the Static TSP and a computational study of a nearest neighbor approach for the Dynamic TSP Orlis Christos Kartsiotis George Samaras Nikolaos Margaritis Konstantinos

More information

Algorithm Design Techniques. Hwansoo Han

Algorithm Design Techniques. Hwansoo Han Algorithm Design Techniques Hwansoo Han Algorithm Design General techniques to yield effective algorithms Divide-and-Conquer Dynamic programming Greedy techniques Backtracking Local search 2 Divide-and-Conquer

More information

Notes 4 : Approximating Maximum Parsimony

Notes 4 : Approximating Maximum Parsimony Notes 4 : Approximating Maximum Parsimony MATH 833 - Fall 2012 Lecturer: Sebastien Roch References: [SS03, Chapters 2, 5], [DPV06, Chapters 5, 9] 1 Coping with NP-completeness Local search heuristics.

More information

Matching 4/21/2016. Bipartite Matching. 3330: Algorithms. First Try. Maximum Matching. Key Questions. Existence of Perfect Matching

Matching 4/21/2016. Bipartite Matching. 3330: Algorithms. First Try. Maximum Matching. Key Questions. Existence of Perfect Matching Bipartite Matching Matching 3330: Algorithms A graph is bipartite if its vertex set can be partitioned into two subsets A and B so that each edge has one endpoint in A and the other endpoint in B. A B

More information

Approximation Algorithms

Approximation Algorithms 18.433 Combinatorial Optimization Approximation Algorithms November 20,25 Lecturer: Santosh Vempala 1 Approximation Algorithms Any known algorithm that finds the solution to an NP-hard optimization problem

More information

Graph Applications, Class Notes, CS 3137 1 Traveling Salesperson Problem Web References: http://www.tsp.gatech.edu/index.html http://www-e.uni-magdeburg.de/mertens/tsp/tsp.html TSP applets A Hamiltonian

More information

A Linear Time Algorithm for the Minimum Spanning Tree Problem. on a Planar Graph. Tomomi MATSUI. (January 1994 )

A Linear Time Algorithm for the Minimum Spanning Tree Problem. on a Planar Graph. Tomomi MATSUI. (January 1994 ) A Linear Time Algorithm for the Minimum Spanning Tree Problem on a Planar Graph Tomomi MATSUI (January 994 ) Department of Mathematical Engineering and Information Physics Faculty of Engineering, University

More information

Tutorial / Demo Talk Graph extraction from images

Tutorial / Demo Talk Graph extraction from images 185.A83 Machine Learning for Health Informatics 2016S, VU, 2.0 h, 3.0 ECTS Week 19 11.05.2016 17:00 20:00 Tutorial / Demo Talk Graph extraction from images b.malle@hci kdd.org http://hci kdd.org/machine

More information

Approximation Algorithms

Approximation Algorithms Presentation for use with the textbook, Algorithm Design and Applications, by M. T. Goodrich and R. Tamassia, Wiley, 2015 Approximation Algorithms Tamassia Approximation Algorithms 1 Applications One of

More information

The Algorithm Design Manual

The Algorithm Design Manual Steven S. Skiena The Algorithm Design Manual With 72 Figures Includes CD-ROM THE ELECTRONIC LIBRARY OF SCIENCE Contents Preface vii I TECHNIQUES 1 1.1 1.2 1.3 1.4 1.5 1.6 1.7 1.8 1.9 1.10 2 2.1 2.2 2.3

More information

Spanning Trees, greedy algorithms. Lecture 22 CS2110 Fall 2017

Spanning Trees, greedy algorithms. Lecture 22 CS2110 Fall 2017 1 Spanning Trees, greedy algorithms Lecture 22 CS2110 Fall 2017 1 We demo A8 Your space ship is on earth, and you hear a distress signal from a distance Planet X. Your job: 1. Rescue stage: Fly your ship

More information

Technische Universität München, Zentrum Mathematik Lehrstuhl für Angewandte Geometrie und Diskrete Mathematik. Combinatorial Optimization (MA 4502)

Technische Universität München, Zentrum Mathematik Lehrstuhl für Angewandte Geometrie und Diskrete Mathematik. Combinatorial Optimization (MA 4502) Technische Universität München, Zentrum Mathematik Lehrstuhl für Angewandte Geometrie und Diskrete Mathematik Combinatorial Optimization (MA 4502) Dr. Michael Ritter Problem Sheet 4 Homework Problems Problem

More information

Computational Geometry

Computational Geometry Lecture 12: Lecture 12: Motivation: Terrains by interpolation To build a model of the terrain surface, we can start with a number of sample points where we know the height. Lecture 12: Motivation: Terrains

More information

Noise Robustness of Irregular LBP Pyramids

Noise Robustness of Irregular LBP Pyramids Noise Robustness of Irregular LBP Pyramids Christoph Körner, Ines Janusch, Walter G. Kropatsch Pattern Recognition and Image Processing (PRIP) Vienna University of Technology, Austria {christoph,ines,krw}@prip.tuwien.ac.at

More information

A constant-factor approximation algorithm for the asymmetric travelling salesman problem

A constant-factor approximation algorithm for the asymmetric travelling salesman problem A constant-factor approximation algorithm for the asymmetric travelling salesman problem London School of Economics Joint work with Ola Svensson and Jakub Tarnawski cole Polytechnique F d rale de Lausanne

More information

CSE 417 Branch & Bound (pt 4) Branch & Bound

CSE 417 Branch & Bound (pt 4) Branch & Bound CSE 417 Branch & Bound (pt 4) Branch & Bound Reminders > HW8 due today > HW9 will be posted tomorrow start early program will be slow, so debugging will be slow... Review of previous lectures > Complexity

More information

The Full Survey on The Euclidean Steiner Tree Problem

The Full Survey on The Euclidean Steiner Tree Problem The Full Survey on The Euclidean Steiner Tree Problem Shikun Liu Abstract The Steiner Tree Problem is a famous and long-studied problem in combinatorial optimization. However, the best heuristics algorithm

More information

Improved approximation ratios for traveling salesperson tours and paths in directed graphs

Improved approximation ratios for traveling salesperson tours and paths in directed graphs Improved approximation ratios for traveling salesperson tours and paths in directed graphs Uriel Feige Mohit Singh August, 2006 Abstract In metric asymmetric traveling salesperson problems the input is

More information