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

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

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

Algorithms and Experimental Study for the Traveling Salesman Problem of Second Order. Gerold Jäger

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

Some Basics on Tolerances. Gerold Jäger

Efficient Algorithms for Graph Bisection of Sparse Planar Graphs. Gerold Jäger University of Halle Germany

Improving the Efficiency of Helsgaun s Lin-Kernighan Heuristic for the Symmetric TSP

Amanur Rahman Saiyed (Indiana State University) THE TRAVELING SALESMAN PROBLEM November 22, / 21

Optimal tour along pubs in the UK

Module 6 NP-Complete Problems and Heuristics

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

Module 6 NP-Complete Problems and Heuristics

Module 6 P, NP, NP-Complete Problems and Approximation Algorithms

Module 6 NP-Complete Problems and Heuristics

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

Theorem 2.9: nearest addition algorithm

Chapter 14 Section 3 - Slide 1

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

Introduction to Approximation Algorithms

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

Overview. H. R. Alvarez A., Ph. D.

Traveling Salesman Problem (TSP) Input: undirected graph G=(V,E), c: E R + Goal: find a tour (Hamiltonian cycle) of minimum cost

Dynamic programming. Trivial problems are solved first More complex solutions are composed from the simpler solutions already computed

LKH User Guide Version 2.0 (November 2007)

The Traveling Salesman Problem: State of the Art

1 The Traveling Salesperson Problem (TSP)

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

SCIENCE & TECHNOLOGY

Design and Analysis of Algorithms CS404/504. Razvan Bunescu School of EECS.

A Polynomial-Time Deterministic Approach to the Traveling Salesperson Problem

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

Combinatorial Optimization - Lecture 14 - TSP EPFL

Using Travelling Salesman Problem Algorithms to. Plan the Most Time-efficient Route for Robots

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

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

IE 102 Spring Routing Through Networks - 1

ARTIFICIAL INTELLIGENCE (CSCU9YE ) LECTURE 5: EVOLUTIONARY ALGORITHMS

1 Variations of the Traveling Salesman Problem

Questions? You are given the complete graph of Facebook. What questions would you ask? (What questions could we hope to answer?)

Travelling salesman problem using reduced algorithmic Branch and bound approach P. Ranjana Hindustan Institute of Technology and Science

6 ROUTING PROBLEMS VEHICLE ROUTING PROBLEMS. Vehicle Routing Problem, VRP:

56:272 Integer Programming & Network Flows Final Exam -- December 16, 1997

Kurt Mehlhorn, MPI für Informatik. Curve and Surface Reconstruction p.1/25

Ant Colony Optimization: The Traveling Salesman Problem

An Effective Implementation of the Lin-Kernighan Traveling Salesman Heuristic

CSCE 350: Chin-Tser Huang. University of South Carolina

Chapter 9 Graph Algorithms

Approximation Algorithms

6.889 Lecture 15: Traveling Salesman (TSP)

LKH User Guide. Version 1.3 (July 2002) by Keld Helsgaun

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

Traveling Salesman Problem Parallel Distributed Tree Search

Greedy algorithms Or Do the right thing

Restricted Delivery Problems on a Network. December 17, Abstract

Chapter 9 Graph Algorithms

Advanced Methods in Algorithms HW 5


A path that visits every vertex exactly once is a Hamiltonian path. A circuit that visits every vertex exactly once is a Hamiltonian circuit.

LKH User Guide Version 1.2 (August 2001)

Notes for Lecture 24

Exam Sample Questions CS3212: Algorithms and Data Structures

Precept 4: Traveling Salesman Problem, Hierarchical Clustering. Qian Zhu 2/23/2011

State Space Reduction for the Symmetric Traveling Salesman Problem through Halves Tour Complement

A Tabu Search Heuristic for the Generalized Traveling Salesman Problem

Introduction to Algorithms

Assignment 3b: The traveling salesman problem

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

Coping with NP-Completeness

Assignment No 2 (Group B)

Practice Final Exam 1

Exact Algorithms for NP-hard problems

CAD Algorithms. Shortest Path

Parallel Programming to solve Traveling Salesman Problem. Team Parallax Jaydeep Untwal Sushil Mohite Harsh Sadhvani parallax.hpearth.

Improved methods for the Travelling Salesperson with Hotel Selection

Jade Yu Cheng ICS 311 Homework 8 Sep 29, 2008

Algorithms for Euclidean TSP

More NP-complete Problems. CS255 Chris Pollett May 3, 2006.

Study Guide Mods: Date:

The Subtour LP for the Traveling Salesman Problem

Math 3012 Combinatorial Optimization Worksheet

For 100% Result Oriented IGNOU Coaching and Project Training Call CPD: ,

Multi-Objective Combinatorial Optimization: The Traveling Salesman Problem and Variants

Networks: Lecture 2. Outline

CAD Algorithms. Categorizing Algorithms

Travelling Salesman Problem: Tabu Search

Comparison of Heuristics for the Colorful Traveling Salesman Problem

Algorithm Design and Analysis

1. The Highway Inspector s Problem

56:272 Integer Programming & Network Flows Final Examination -- December 14, 1998

Vertex Cover Approximations

A Steady-State Genetic Algorithm for Traveling Salesman Problem with Pickup and Delivery

CS 4407 Algorithms. Lecture 8: Circumventing Intractability, using Approximation and other Techniques

Shared Crossover Method for Solving Traveling Salesman Problem

Classifier Inspired Scaling for Training Set Selection

Using a Divide and Conquer Method for Routing in a PC Vehicle Routing Application. Abstract

Chapter 9 Graph Algorithms

Optimization Techniques for Design Space Exploration

11/22/2016. Chapter 9 Graph Algorithms. Introduction. Definitions. Definitions. Definitions. Definitions

Minimum-weight tree shortcutting for Metric TSP

Seismic Vessel Problem

Transcription:

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 Tolerance Based Algorithms for Solving the Traveling Salesman Problem

Overview 1 Traveling Salesman Problem Definition Importance Helsgaun s Heuristic

Overview 2 Description of the Algorithm Experimental Results Work on World-TSP Instance

Traveling Salesman Problem Definition Given: undirected graph G = (V, E), V = n, cost function c : E R. Traveling Salesman Problem (TSP): Find: tour (v 1, v 2,..., v n, v 1 ) with minimum costs c(v n, v 1 ) + n 1 i=1 c(v i, v i+1 ).

Traveling Salesman Problem Importance Easy to understand. Hard to solve: NP-Hard. Gap between few performance guarantees good practical results Many important applications: public transport tour planning design of microchips genome sequencing

Traveling Salesman Problem Helsgaun s Heuristic 1 Start with an arbitrary vertex. 2 In each step go to the nearest non-visited vertex. 3 If all vertices are visited, return to the starting point. 4 Use the resulted tour as starting tour for the next steps. 5 For k n apply a k-opt step, i.e.: Replace tour edges by non-tour edges, such that the edges are still a tour the tour is better than the original one 6 Repeat step 5 as long as improving steps can be found.

Traveling Salesman Problem Helsgaun s Heuristic Example of a 2-OPT step

Traveling Salesman Problem Helsgaun s Heuristic Best TSP heuristic: [Helsgaun, 1998, improved: 2007] Main ideas: [Lin, Kernighan, 1971] Optimizations: 1 Choose k small. 2 For each vertex consider only the s best neighboring edges, the so-called candidate system. Helsgaun s main improvement: For each vertex do not consider the s shortest neighboring edges, but the s neighboring edges with a criterion based on so-called tolerances of the minimum spanning tree. 3 Apply t (nearly) independent runs of the algorithm. The larger the algorithm parameters k, s and t are, the slower, but more effective is Helsgaun s Heuristic.

Description of the Algorithm 1 Using known heuristics, e.g., Helsgaun s Heuristic, find good starting tours. a b c

Description of the Algorithm 2 Find all common edges in these starting tours. a b c d Such edges are called pseudo backbone edges.

Description of the Algorithm 3 Contract all edges of paths of pseudo backbone edges to one edge. d eee 0011 0011 0000 01 01 01 01 01 01 000111 11000 111 00000 01 111110 1

Description of the Algorithm 4 Create a new (reduced) instance by omitting the vertices, which lie on a path of pseudo backbone edges: d e f 0011 0000 01 01 01 01 01 01 00000 11111 11000 111 00000 1111101 Fix the contracted edges, i.e., force them to be in the final tour.

Description of the Algorithm 5 Apply Helsgaun s Heuristic to the new instance. e f 0011 0000 01 01 01 01 01 01 11000 111 00000 00000 11111 1111101 g

Description of the Algorithm 6 Re-contract the tour of the new instance to a tour of the original instance. g h The last tour is the optimum one. a b c

Description of the Algorithm Two advantages: 1 Reduction of the set of vertices. 2 Fixing of a part of the edges. Helsgaun s Heuristic can be applied with larger algorithm parameters k, s and t than for the original instance. The algorithm works rather good, if the starting tours are 1 good ones 2 not too similar (as otherwise the search space is restricted too strongly)

Experimental Results Competition: TSP homepage (http://www.tsp.gatech.edu/) Large TSP datasets from practice: for comparison of exact algorithms and heuristics. 74 unsolved example instances: VLSI and national instances For 18 of 74 instances we have set a new record. 9 of 18 records are still up to date.

Experimental Results Our new records Date # Vertices Date # Vertices 24.05.2006 6,880 14.07.2008 28,534 22.10.2006 19,289 14.07.2008 39,603 20.03.2008 17,845 14.07.2008 56,769 28.03.2008 13,584 19.07.2008 104,815 01.04.2008 19,402 21.07.2008 32,892 27.05.2008 38,478 14.08.2008 52,057 23.06.2008 21,215 14.08.2008 238,025 24.06.2008 28,924 10.11.2008 29,514 30.06.2008 34,656 12.12.2008 47,608

Work on World-TSP Instance joint work also with Christian Ernst Most difficult instance of TSP homepage: World-TSP instance with 1, 904, 711 cities. World-TSP tour (Ambitious) aim: Computation of a new record World-TSP tour.

Work on World-TSP Instance Problem: Finding good starting tours is too difficult for the World-TSP instance. Idea: Combine with Partitioning.

Work on World-TSP Instance 1 Compute good tours in overlapping windows.

Work on World-TSP Instance The overlap size is chosen half the width (height) of the window frame. Each vertex is contained in exactly 4 windows, unless it is located near the boundary.

Work on World-TSP Instance 2 Use edges contained in all tours of 4 overlapping windows as pseudo backbone edges.

Work on World-TSP Instance 3 Apply the recursively. Our current tour: 1 0.01% over the current best tour 2 Found in 13 hours

Work on World-TSP Instance Thanks for your attention!