Networks: Lecture 2. Outline

Similar documents
Networks: Lecture 1. General Comments

Theorem 2.9: nearest addition algorithm

Optimal tour along pubs in the UK

Combinatorial Optimization - Lecture 14 - TSP EPFL

Problem Set 6 (Due: Wednesday, December 6, 2006)

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

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

Outline. Construction Heuristics for CVRP. Outline DMP204 SCHEDULING, TIMETABLING AND ROUTING

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

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

1. trees does the network shown in figure (a) have? (b) How many different spanning. trees does the network shown in figure (b) have?

Construction Heuristics and Local Search Methods for VRP/VRPTW

HEURISTIC ALGORITHMS FOR THE SINGLE VEHICLE DIAL-A-RIDE PROBLEM

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

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

Vehicle Routing Heuristic Methods

1 The Traveling Salesman Problem

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

SLS Methods: An Overview

1 The Traveling Salesman Problem

Lecture 3. Brute Force

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

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

Institute of Operating Systems and Computer Networks Algorithms Group. Network Algorithms. Tutorial 4: Matching and other stuff

Design and Analysis of Algorithms

Assignment 3b: The traveling salesman problem

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

Lecture 8: The Traveling Salesman Problem

Polynomial Time Approximation Schemes for the Euclidean Traveling Salesman Problem

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

2 Approximation Algorithms for Metric TSP

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

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

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

2. Optimization problems 6

Algorithm Design and Analysis

Combining Two Local Searches with Crossover: An Efficient Hybrid Algorithm for the Traveling Salesman Problem

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

Chapter S:I. I. Introduction. Examples for Search Problems Search Problem Abstraction

Introduction to Approximation Algorithms

(Refer Slide Time: 01:00)

Module 6 NP-Complete Problems and Heuristics

Computational Geometry

7KH9HKLFOH5RXWLQJSUREOHP

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

TSP! Find a tour (hamiltonian circuit) that visits! every city exactly once and is of minimal cost.!

Simulating Human Performance on the Traveling Salesman Problem Abstract Introduction

Approximating TSP Solution by MST based Graph Pyramid

A CLUSTERING HEURISTIC BY EFFECTIVE NEAREST NEIGHBOR SELECTION

Module 6 NP-Complete Problems and Heuristics

Notes for Recitation 9

Lecturer: Shuchi Chawla Topic: Euclidean TSP (contd.) Date: 2/8/07

The metric travelling salesman problem: pareto-optimal heuristic algorithms

Module 6 NP-Complete Problems and Heuristics

Weight Annealing Heuristics for Solving the Two-Dimensional Bin Packing Problem

MVE165/MMG630, Applied Optimization Lecture 8 Integer linear programming algorithms. Ann-Brith Strömberg

Computational Complexity CSC Professor: Tom Altman. Capacitated Problem

Coping with the Limitations of Algorithm Power Exact Solution Strategies Backtracking Backtracking : A Scenario

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

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

Heuristic Approaches for the Probabilistic Traveling Salesman Problem

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

Heuristic Optimization

Tour splitting algorithms for vehicle routing problems

Lecture 13: Minimum Spanning Trees Steven Skiena

The Traveling Salesman Problem: State of the Art

Improved methods for the Travelling Salesperson with Hotel Selection

Approximation Algorithms

Case Studies: Bin Packing & The Traveling Salesman Problem. TSP: Part II. David S. Johnson AT&T Labs Research

Design and Analysis of Algorithms

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

Practice Final Exam 1

ALGORITHM CHEAPEST INSERTION

LEAST COST ROUTING ALGORITHM WITH THE STATE SPACE RELAXATION IN A CENTRALIZED NETWORK

Lecture 13: Minimum Spanning Trees Steven Skiena. Department of Computer Science State University of New York Stony Brook, NY

Fundamentals of Integer Programming

A NEW HEURISTIC ALGORITHM FOR MULTIPLE TRAVELING SALESMAN PROBLEM

Course 16 Geometric Data Structures for Computer Graphics. Voronoi Diagrams

Introduction to Algorithms

Friendly Interchange Heuristic for Vehicle Routing Problems with Time Windows

Last topic: Summary; Heuristics and Approximation Algorithms Topics we studied so far:

Part 3: Handling Intractability - a brief introduction

Prove, where is known to be NP-complete. The following problems are NP-Complete:

Chapter 9 Graph Algorithms

Algorithms for Euclidean TSP

Online Graph Exploration

A HIGH PERFORMANCE ALGORITHM FOR SOLVING LARGE SCALE TRAVELLING SALESMAN PROBLEM USING DISTRIBUTED MEMORY ARCHITECTURES

Online Dial-A-Ride Problem with Time Windows: an exact algorithm using status vectors

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

Computational Geometry

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

A Feature-Based Comparison of Local Search and the Christofides Algorithm for the Travelling Salesperson Problem

Density-Based Clustering Heuristics for the Traveling Salesman Problem

Lecture Schedule Week Date Lecture (W: 3:05p-4:50, 7-222)

ARTIFICIAL INTELLIGENCE (CSCU9YE ) LECTURE 5: EVOLUTIONARY ALGORITHMS

Chapter 9 Graph Algorithms

Rich Vehicle Routing Problems Challenges and Prospects in Exploring the Power of Parallelism. Andreas Reinholz. 1 st COLLAB Workshop

Clustering Strategy to Euclidean TSP

1 The Traveling Salesperson Problem (TSP)

Transcription:

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 result for Euclidean TSP [Separate handout] Extensions Reference: Sections..-.. + Handouts

Node Covering (TSP, VRP, et al) Huge literature, endless applications Traveling Salesman Problem (TSP) is the prototypical hard problem Some applications: _ Routing of all kinds _ Job shop scheduling _ Vehicle routing problem (VRP) _ Dial-a-ride problem (DARP) _ Electronics industry _ Biotechnology _ Air traffic control _ Genomics Solving the TSP Best existing exact algorithms can solve optimally problems with up to,000 points (as of 00) Numerous heuristic approaches for good solutions to MUCH larger problems For practical purposes, heuristics are very powerful. A classification: _ Tour construction _ Tour improvement _ Hybrid Analysis of heuristics: _ Worst case _ Empirical _ Asymptotic _ Probabilistic

Heuristics: Euclidean TSP 8 0 The Nearest Neighbor Heuristic 8 0

Performance: Nearest Neighbor L(NEARNEIGHBOR) log L(TSP) n + Poor performance in practice (+0%) Can be improved through refinements (e.g., likely subgraph ) Insertion Heuristics? Nearest insertion Farthest insertion Cheapest insertion Random insertion

Worst-case Performance: Insertion Heuristics L(RANDOM INSERT ) log n + L(TSP) L(NEAR INSERT ) < L(TSP) L(FAR INSERT ) => Unknown L(TSP) L(CHEAP INSERT ) < L(TSP) Empirical Performance: Insertion Heuristics In practice Farthest Insertion and Random Insertion (+%, +%) seem to perform better than Cheapest and Nearest (+%, +%) Can be further refined (e.g., though the Convex Hull heuristic)

The MST Heuristic for the TSP 8 0 Merging with a second copy of the MST 8 0

Improve Solution by Skipping Points Already Visited 8 0 Worst-case Performance: MST Heuristic for TSP L(MST) L(TSP-(longest edge of TSP)) < L(TSP) => L(MST-TOUR) = *L(MST) < *L(TSP) => L(MST TOUR) < L(TSP)

The Christofides Heuristic: Step 8 * * * 0 * * * The Christofides Heuristic: Step 8 * * * 0 * * *

The Christofides Heuristic: Step 8 0 Improve Solution by Skipping Points Already Visited 8 0

Worst-case Performance: The Christofides Heuristic L(CHRISTOFIDES) = L(MST) + L(M) But, L(MST) < L(TSP) and L(M) L(M') L(TSP) / (M' = minimum length pairwise matching of odd- degree nodes of MST using only links that are part of TSP) Worst-case Performance: The Christofides Heuristic L(CHRISTOFIDES) = L(MST) + L(M) But, L(MST) < L(TSP) and L(M) L(M') L(TSP) / (M' = minimum length pairwise matching of odddegree nodes of MST using only links that are part of TSP) => L(CHRISTOFIDES) < L(TSP)

A Worst-Case Example for the Christofides Heuristic (m nodes) m- - ε - ε m (m+ nodes) A Worst-Case Example for the Christofides Heuristic () - ε - ε L(Christofides) = *m*(-ε) + m *m

A Worst-Case Example for the Christofides Heuristic () m- - ε m L(TSP) = m + m + *( ε) *m + Therefore: L ( CHRISTOFIDES ) L ( TSP ) m m + as m The Convex Hull Heuristic: Euclidean Plane 8 0

Adding New Points 8 0 Convex Hull Heuristic (Euclidean TSP) Optimal TSP tour cannot intersect itself Therefore, points on the convex hull must appear in same order on optimal TSP tour Provides good starting point; for instance, improves insertion heuristics by -%, on average

The Savings Algorithm 8 Depot (D) 0 The Savings Algorithm () Invented for vehicle routing; works well for TSP Connect every node to the origin ( depot ) through a round trip (n- tours) Merge tours, one node at a time, by maximizing savings s(i,j) = d(d,i) + d(d,j) d(i,j) Tours should not violate such constraints as: _ Vehicle capacity _ Maximum length of a tour _ Maximum number of stops per tour O(n ) Performs very well in practice; very flexible Li, F., B. Golden and E. Wasil (00), Very large-scale vehicle routing, Computers and Opers. Research

The Savings Algorithm () 8 D 0 Tour Improvement Heuristics: Node Insertion p q i j k d(p,q) + d(j,i) + d(i,k) vs. d(p,i) + d(i,q) + d(j,k) O(n ) computational effort on each iteration

Tour Improvement Heuristics: -exchange (or -opt ) n = n(n ) O(n ) Tour Improvement Heuristics: -exchange (or -opt ) -opt really n O(n )

Tour Improvement Heuristics: Variable Depth Search Lin and Kernighan () Use combinations of -opt and -opt searches Initially many short-depth, later fewer Has been extended to deeper searches than -opt Numerous variations