ALGORITHM CHEAPEST INSERTION

Size: px
Start display at page:

Download "ALGORITHM CHEAPEST INSERTION"

Transcription

1 Version for STSP ALGORITHM CHEAPEST INSERTION. Choose the two furthest vertices i and k as initial subtour (c ik = max {c hj : (h, j) A}); set V := V \ {i} \ {k} (set of the unvisited vertices).. For each unvisited vertex j (j V ) determine the best insertion of j in the current subtour (i. e., determine the arc (i j, h j ) of the current subtour such that e j := c ij,j + c j,h j c ij,h j is minimum): i. Determine the unvisited vertex k (k V ) such that e k is minimum (e k = min {e j : j V }); insert vertex k between vertices i k and h k ; V := V \ {k}. If V then return to STEP. Else STOP. j h j j

2 ALGORITHM CHEAPEST INSERTION () v Time complexity: O(n ). v Good results if the triangle inequality holds. * Version for ATSP? * Is Cheapest Insertion a greedy algorithm?

3 Example Algorithm Cheapest Insertion Opt = Solution cost: (optimal) (, ) (,, ) (,,, ) (,,,, ) (,,,,, )

4 Example Opt = Algorithm Cheapest Insertion (, ) (,, ) (,,, ) (,,,, ) (,,,,, ) Solution cost:

5 GREEDY ALGORITHM MULTI-PATH (Bentley, 0) Version for STSP. Order the arcs of the graph according to non-decreasing values of the associated costs (c ij ).. If the insertion of the next arc (i, j) into the current solution (given by a family of paths) is feasible, i.e. the current degrees of vertices i and j are and arc (i, j) forms no subtour (i. e. there is no path from j to i whose number of arcs is less than n - ), then select arc (i, j).. If the number of the selected arcs is less than n then return to STEP. Else STOP. v v Time RANDOMIZED complexity: VARIANT O(n log n ) (the algorithm is similar to the Kruskal At algorithm STEP, for consider the Shortest the next Spanning feasible Tree) arcs: select the next arc with probability /, select the following arc with probability /.

6 Example Opt = Algorithm Multi-Path Solution cost: (optimal) Ordered arcs: (, ) (, ) (, ) (, ) (, ) (, ) (, ) (, ) (, ) (, ) OK OK OK NO OK NO NO OK OK STOP

7 Example Opt = Algorithm Multi-Path Solution cost: Ordered arcs: (, ) (, ) (, ) (, ) (, ) (, ) (, ) (, ) (, ) (, ) (, ) (, ) OK OK NO NO OK OK NO NO NO OK NO OK STOP

8 ALGORITHM SAVINGS (Clark-Wright, ; VRP) (version for STSP, good results if the triangle inequality holds) v v Choose any vertex k as the depot. Set V := V \ {k}. For each arc (i, j) A such that i V and j V compute the score ( saving ): s ij := c ik + c kj - c ij i j i j k k saving corresponding to the direct connection of vertex i with vertex j bypassing the depot k. s ij := (c ki + c ik + c kj + c jk ) (c ki + c ij + c jk )

9 ALGORITHM SAVINGS. For each vertex i V define the subtour (k, i, k); order the arcs (i, j) A (with i V, j V ) according to non-increasing values of the corresponding savings s ij.. If the insertion of the next arc (i, j) into the current solution (given by a family of subtours passing through k) is feasible, i.e. the current degrees (w.r.t. vertices belonging to V ) of vertices i and j are and arc (i, j) forms no subtour containing only vertices belonging to V, then remove arcs (i, k) and (k, j) and insert arc (i, j).. If the number of the inserted arcs is less than n then return to STEP. Else STOP. v Time complexity: O(n log n ) v Version for ATSP?

10 Example Algorithm Savings Opt = depot k =. Savings: S, = S, = S, = S, = S, = 0 S, = 0 S, = S, = S, = 0 S, = 0 Ordered arcs (, ) (, ) (, ) (, ) (, ) (, ) (, ) (, ) (, ) (, ) 0

11 Example Algorithm Savings () Opt = k =. Ordered arcs: depot (, ) (, ) (, ) (, ) (, ) (, ) (, ) (, ) (, ) (, ) OK OK OK NO OK NO NO OK OK STOP

12 Example Algorithm Savings () Opt = k =. Selected arcs: depot (, ) (, ) (, ) (, ) (, ) (, ) Solution cost: Complete the tour with arcs (, ) and (, )

13 LOCAL SEARCH ALGORITHMS v Sequence of feasible exchanges of r arcs belonging to the current tour with r arcs not belonging to the current tour (an exchange is feasible iff it leads to a new tour). v If a feasible exchange reduces the global cost of the tour then the exchange is performed. v Two versions:. update the current tour as soon as an improving exchange is found;. determine the best exchange (corresponding to the maximum improvement) and perform it. v r-optimal algorithms (Lin, ).

14 STSP v r = (-optimal exchange) i k i k l j l j v Time complexity O(n ) (for each iteration). v Cost variation = (c ij + c kl ) - (c ik + c jl ) v For each exchange: time complexity O(k)

15 Example (-optimal exchange) Initial solution found by algorithm Nearest Neighbour with Initial Vertex = with arcs (, ) and (, ) (cost = 0) Exchange arcs (, ) and (, ) (cost = ) Initial cost = Final cost =

16 ATSP v r = (-optimal exchange) i k b i k b l j a l j a v Cost variation: (c ij + c ja + + c bk + c kl ) - (c ik + c kb + + c aj + c jl ) v Both directions can be considered: clockwise, anti clockwise.

17 STSP v r = (-optimal exchange) i k j i k j n m n m l l v Time complexity O(n ) (for each iteration). v Cost variation = (c ij + c kl + c mn ) - (c ik + c jm + c ln ) time complexity O(k)

18 Example (-optimal exchange) Initial solution found by algorithm Cheapest Insertion Initial cost = Final cost = Exchange arcs (, ), (, ) and (, ) (cost = ) with arcs (, ), (, ) and (, ) (cost = )

19 STSP v r = (-optimal exchange) : by removing arcs from the current tour, different feasible tours can be obtained: v v v v v v v v z z z z u u z u u z u u z u u z (a) (b) (c) (d) v v v v v v v v z z z z u u z u u z u u z u u z (e) (f) (g) (h)

20 ATSP v r = (-optimal exchange) : different feasible tours (both directions can be considered) v v v v v v v v z z z z u u z u z u z u u u u z (a) (b) (c) (d) v v v v v v v v z z z z u z u z u z u (e) (f) (g) (h) z 0

21 COMPUTATIONAL RESULTS Symmetric TSP (undirected graphs). Two classes of randomly generated instances (n is given): ) Random Euclidean instances For each vertex i (i =,, n): generate a random point (x i, y i ) in a square 00 x 00: x i := uniform random value in (0, 00), y i := uniform random value in (0, 00). For each vertex pair (i, j) (i =,, n; j =,, n): c ij := (x i - x j ) + (y i - y j ) (symmetric cost matrix, the triangle inequality holds)

22 COMPUTATIONAL RESULTS FOR STSP ) Random Distance instances For each vertex pair (i, j) (i =,, n-; j = i+,, n) c ij := uniform random number in (, 00); c ji := c ij (symmetric cost matrix, the triangle inequality does not hold) v n = 00, 000, 0000, v 0 instances for each class and for each value of n. v Percentage gap between the solution cost found by the heuristic algorithm and the Lower Bound proposed by Held- Karp 0 (-SST Relaxation with subgradient optimization procedure). v CPU times in seconds of a 0 MHz SGI Challenge.

23 STSP - RANDOM EUCLIDEAN INSTANCES Algorithm n = 0 n = 0 n = 0 n = 0 N. Neighbour. (0.00).0 (0.0). (0.). () Multi-Path. (0.00).0 (0.0). (.). () Savings. (0.00). (0.). (.). () -Opt. (0.0). (.0).0 (.). () -Opt. (0.0). (.).0 (.).0 () % gap (CPU times in seconds) procedures -opt and -opt with initial solution found by the Randomized Multi-Path algorithm

24 STSP RANDOM DISTANCE INSTANCES Algorithm n = 0 n = 0 n = 0 N. Neighbour 0 (0.0) 0 (0.) 0 () Multi-Path 00 (0.0) 0 (0.) 0 (0) Savings 0 (0.0) 0 (.) 00 () -Opt (0.0) 0 (.) () -Opt 0 (0.0) (.) () % gap (CPU times in seconds) procedures -opt and -opt with initial solution found by the Randomized Multi-Path algorithm

25 HEURISTIC ALGORITHMS FOR THE ATSP (in addition to the modifications of the previously described algorithms) ALGORITHM PATCH (Karp-Steele, ). Solve the Assignment Problem (AP) corresponding to the cost matrix (c ij ).. If the current AP solution is a tour then STOP.. Consider the subtour S having the maximum number of vertices. Expand S by combining ( patching ) it, through a arc exchange, with a different subtour S so as to minimize the variation of the global cost of the two subtours S and S. Return to STEP.

26 Example: Given subtour S and a different subtour S (for all subtours S ) i l S S j k exchange arcs (i, j) and (k, l) with arcs (i, l) and (k, j) so as to minimize: (c il + c kj ) - (c ij + c kl ) with respect to all the possible arc exchanges between subtours S and S

27 Example A Opt = Final cost = (optimal solution) AP solution = (Lower Bound) Patch the two subtours by exchanging arcs (, ) and (, ) with arcs (, ) and (, )

28 v Variant of Algorithm Patch v ALGORITHM CONTRACT OR PATCH (Glover-Gutin-Yeo-Zverovich, 00) After STEP ( if the current AP solution is a tour then STOP ) add the steps: a. if the current solution contains at least a subtour R with less than t vertices then: remove the maximum cost arc (h, k) of R and contract the resulting path (from k to h) into a single supervertex r. R h k r c hj c ik j i solve the AP corresponding to the current graph, and return to STEP a. b. re-expand, in a recursive way, the supervertices so as to obtain an AP solution corresponding to the original graph.

29 ALGORITHM TRUNCATED BRANCH-AND-BOUND v Modification of the branch-and-bound algorithm based on the AP relaxation and the subtour elimination branching scheme. v At each level of the branching tree: consider only the descendent node corresponding to the minimum value of the associated Lower Bound (cost of the corresponding AP relaxation), by removing all the other descendent nodes.

30 ALGORITHM TRUNCATED BRANCH-AND-BOUND () AP solution level level arc (, ) imposed X, =... V(AP(k))= X, = 0 X, = 0 X, = 0 X, = X, = k X, = 0, X, = X, = X, = X, =... k k k k V(AP(k))= v(ap(k)= v(ap(k))= v(ap(k))= V(AP(k,))= k, k, k, v(ap(k,)= v(ap(k,))=

31 COMPUTATIONAL RESULTS FOR ATSP classes of randomly generated instances. different values of n: 00,, 000, 0 instances for n = 00, ( for n = 000, for n = ) HK = Held-Karp lower bound corresponding to the -Shortest Spanning Arborescence Relaxation with Subgradient Optimization procedure. -OPT with starting solution found by the Nearest Neighbour Algorithm CPU times in seconds of a 0 MHz SGI Challenge Percent above HK MULTI - PATH Time in Seconds Class tmat amat shop disk super crane coin stilt rtilt

32 NEAREST NEIGHBOUR Percent above HK Time in Seconds Class tmat amat shop disk super crane coin stilt rtilt OPT Percent above HK Time in Seconds Class tmat amat shop disk super crane coin stilt rtilt

33 PATCH Percent above HK Time in Seconds Class tmat amat shop disk super crane coin stilt rtilt CONTRACT OR PATCH Percent above HK Time in Seconds Class tmat amat shop disk super crane coin stilt rtilt

34 TRUNCATED BRANCH AND BOUND Percent above HK Time in Seconds Class tmat amat shop disk super crane coin stilt rtilt

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

Algorithms and Experimental Study for the Traveling Salesman Problem of Second Order. Gerold Jäger Algorithms and Experimental Study for the Traveling Salesman Problem of Second Order Gerold Jäger joint work with Paul Molitor University Halle-Wittenberg, Germany August 22, 2008 Overview 1 Introduction

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

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

Assignment 3b: The traveling salesman problem

Assignment 3b: The traveling salesman problem Chalmers University of Technology MVE165 University of Gothenburg MMG631 Mathematical Sciences Linear and integer optimization Optimization with applications Emil Gustavsson Assignment information Ann-Brith

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

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

6 ROUTING PROBLEMS VEHICLE ROUTING PROBLEMS. Vehicle Routing Problem, VRP: 6 ROUTING PROBLEMS VEHICLE ROUTING PROBLEMS Vehicle Routing Problem, VRP: Customers i=1,...,n with demands of a product must be served using a fleet of vehicles for the deliveries. The vehicles, with given

More information

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

Last topic: Summary; Heuristics and Approximation Algorithms Topics we studied so far: Last topic: Summary; Heuristics and Approximation Algorithms Topics we studied so far: I Strength of formulations; improving formulations by adding valid inequalities I Relaxations and dual problems; obtaining

More information

Construction Heuristics and Local Search Methods for VRP/VRPTW

Construction Heuristics and Local Search Methods for VRP/VRPTW DM204, 2010 SCHEDULING, TIMETABLING AND ROUTING Lecture 31 Construction Heuristics and Local Search Methods for VRP/VRPTW Marco Chiarandini Department of Mathematics & Computer Science University of Southern

More information

to the Traveling Salesman Problem 1 Susanne Timsj Applied Optimization and Modeling Group (TOM) Department of Mathematics and Physics

to the Traveling Salesman Problem 1 Susanne Timsj Applied Optimization and Modeling Group (TOM) Department of Mathematics and Physics An Application of Lagrangian Relaxation to the Traveling Salesman Problem 1 Susanne Timsj Applied Optimization and Modeling Group (TOM) Department of Mathematics and Physics M lardalen University SE-721

More information

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

TSP! Find a tour (hamiltonian circuit) that visits! every city exactly once and is of minimal cost.! TSP! Find a tour (hamiltonian circuit) that visits! every city exactly once and is of minimal cost.! Local Search! TSP! 1 3 5 6 4 What should be the neighborhood?! 2-opt: Find two edges in the current

More information

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

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

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

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

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

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

More information

Methods and Models for Combinatorial Optimization Exact methods for the Traveling Salesman Problem

Methods and Models for Combinatorial Optimization Exact methods for the Traveling Salesman Problem Methods and Models for Combinatorial Optimization Exact methods for the Traveling Salesman Problem L. De Giovanni M. Di Summa The Traveling Salesman Problem (TSP) is an optimization problem on a directed

More information

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

MVE165/MMG630, Applied Optimization Lecture 8 Integer linear programming algorithms. Ann-Brith Strömberg MVE165/MMG630, Integer linear programming algorithms Ann-Brith Strömberg 2009 04 15 Methods for ILP: Overview (Ch. 14.1) Enumeration Implicit enumeration: Branch and bound Relaxations Decomposition methods:

More information

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

Outline. Construction Heuristics for CVRP. Outline DMP204 SCHEDULING, TIMETABLING AND ROUTING Outline DMP204 SCHEDULING, TIMETABLING AND ROUTING Lecture 27 Vehicle Routing Heuristics Marco Chiarandini 1. for CVRP for VRPTW 2. 3. 4. Constraint Programming for VRP 2 Outline for CVRP TSP based heuristics

More information

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

56:272 Integer Programming & Network Flows Final Exam -- December 16, 1997 56:272 Integer Programming & Network Flows Final Exam -- December 16, 1997 Answer #1 and any five of the remaining six problems! possible score 1. Multiple Choice 25 2. Traveling Salesman Problem 15 3.

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

To appear in ALENEX 2001 Proceedings, Springer Lecture Notes in Computer Science

To appear in ALENEX 2001 Proceedings, Springer Lecture Notes in Computer Science To appear in ALENEX 2001 Proceedings, Springer Lecture Notes in Computer Science The Asymmetric Traveling Salesman Problem: Algorithms, Instance Generators, and Tests Jill Cirasella 1, David S. Johnson

More information

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

LEAST COST ROUTING ALGORITHM WITH THE STATE SPACE RELAXATION IN A CENTRALIZED NETWORK VOL., NO., JUNE 08 ISSN 896608 00608 Asian Research Publishing Network (ARPN). All rights reserved. LEAST COST ROUTING ALGORITHM WITH THE STATE SPACE RELAXATION IN A CENTRALIZED NETWORK Y. J. Lee Department

More information

An O(log n/ log log n)-approximation Algorithm for the Asymmetric Traveling Salesman Problem

An O(log n/ log log n)-approximation Algorithm for the Asymmetric Traveling Salesman Problem An O(log n/ log log n)-approximation Algorithm for the Asymmetric Traveling Salesman Problem and more recent developments CATS @ UMD April 22, 2016 The Asymmetric Traveling Salesman Problem (ATSP) Problem

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

Constructive and destructive algorithms

Constructive and destructive algorithms Constructive and destructive algorithms Heuristic algorithms Giovanni Righini University of Milan Department of Computer Science (Crema) Constructive algorithms In combinatorial optimization problems every

More information

SLS Methods: An Overview

SLS Methods: An Overview HEURSTC OPTMZATON SLS Methods: An Overview adapted from slides for SLS:FA, Chapter 2 Outline 1. Constructive Heuristics (Revisited) 2. terative mprovement (Revisited) 3. Simple SLS Methods 4. Hybrid SLS

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

A NEW HEURISTIC ALGORITHM FOR MULTIPLE TRAVELING SALESMAN PROBLEM

A NEW HEURISTIC ALGORITHM FOR MULTIPLE TRAVELING SALESMAN PROBLEM TWMS J. App. Eng. Math. V.7, N.1, 2017, pp. 101-109 A NEW HEURISTIC ALGORITHM FOR MULTIPLE TRAVELING SALESMAN PROBLEM F. NURIYEVA 1, G. KIZILATES 2, Abstract. The Multiple Traveling Salesman Problem (mtsp)

More information

Construction heuristics for the asymmetric TSP

Construction heuristics for the asymmetric TSP European Journal of Operational Research 129 (2001) 555±568 www.elsevier.com/locate/dsw Theory and Methodology Construction heuristics for the asymmetric TSP Fred Glover a, Gregory Gutin b, *, Anders Yeo

More information

ON THE SOLUTION OF TRAVELING SALESMAN UNDER CONDITIONS OF SPARSENESS A THESIS. Presented. The Faculty of the Division of Graduate

ON THE SOLUTION OF TRAVELING SALESMAN UNDER CONDITIONS OF SPARSENESS A THESIS. Presented. The Faculty of the Division of Graduate ON THE SOLUTION OF TRAVELING SALESMAN UNDER CONDITIONS OF SPARSENESS PROBLEMS A THESIS Presented to The Faculty of the Division of Graduate Studies and Research by Norman Jon Bau In Partial Fulfillment

More information

LOCAL SEARCH FOR THE MINIMUM FUNDAMENTAL CYCLE BASIS PROBLEM

LOCAL SEARCH FOR THE MINIMUM FUNDAMENTAL CYCLE BASIS PROBLEM LOCAL SEARCH FOR THE MINIMUM FUNDAMENTAL CYCLE BASIS PROBLEM Abstract E.Amaldi, L.Liberti, N.Maculan, F.Maffioli DEI, Politecnico di Milano, I-20133 Milano amaldi,liberti,maculan,maffioli @elet.polimi.it

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

A SAT Based Effective Algorithm for the Directed Hamiltonian Cycle Problem

A SAT Based Effective Algorithm for the Directed Hamiltonian Cycle Problem A SAT Based Effective Algorithm for the Directed Hamiltonian Cycle Problem Gerold Jäger and Weixiong Zhang 2 Computer Science Institute Christian-Albrechts-University of Kiel D-248 Kiel, Germany E-mail:

More information

EXACT METHODS FOR THE ASYMMETRIC TRAVELING SALESMAN PROBLEM

EXACT METHODS FOR THE ASYMMETRIC TRAVELING SALESMAN PROBLEM EXACT METHODS FOR THE ASYMMETRIC TRAVELING SALESMAN PROBLEM Matteo Fischetti D.E.I, University of Padova Via Gradenigo 6/A, 35100 Padova, Italy fisch@dei.unipd.it (2013) Abstract In the present chapter

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

Travelling Salesman Problems

Travelling Salesman Problems STOCHASTIC LOCAL SEARCH FOUNDATIONS & APPLICATIONS Travelling Salesman Problems Presented by Camilo Rostoker rostokec@cs.ubc.ca Department of Computer Science University of British Columbia Outline 1.

More information

Assignment 5: Solutions

Assignment 5: Solutions Algorithm Design Techniques Assignment 5: Solutions () Port Authority. [This problem is more commonly called the Bin Packing Problem.] (a) Suppose K = 3 and (w, w, w 3, w 4 ) = (,,, ). The optimal solution

More information

Effective Local and Guided Variable Neighbourhood Search Methods for the Asymmetric Travelling Salesman Problem

Effective Local and Guided Variable Neighbourhood Search Methods for the Asymmetric Travelling Salesman Problem Effective Local and Guided Variable Neighbourhood Search Methods for the Asymmetric Travelling Salesman Problem Edmund K. Burke, Peter I. Cowling, and Ralf Keuthen Automated Scheduling, Optimization, and

More information

Lagrangian Relaxation in CP

Lagrangian Relaxation in CP Lagrangian Relaxation in CP Willem-Jan van Hoeve CPAIOR 016 Master Class Overview 1. Motivation for using Lagrangian Relaxations in CP. Lagrangian-based domain filtering Example: Traveling Salesman 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

Research Interests Optimization:

Research Interests Optimization: Mitchell: Research interests 1 Research Interests Optimization: looking for the best solution from among a number of candidates. Prototypical optimization problem: min f(x) subject to g(x) 0 x X IR n Here,

More information

Combinatorial Optimization - Lecture 14 - TSP EPFL

Combinatorial Optimization - Lecture 14 - TSP EPFL Combinatorial Optimization - Lecture 14 - TSP EPFL 2012 Plan Simple heuristics Alternative approaches Best heuristics: local search Lower bounds from LP Moats Simple Heuristics Nearest Neighbor (NN) Greedy

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

Evolutionary tree reconstruction (Chapter 10)

Evolutionary tree reconstruction (Chapter 10) Evolutionary tree reconstruction (Chapter 10) Early Evolutionary Studies Anatomical features were the dominant criteria used to derive evolutionary relationships between species since Darwin till early

More information

An ILS Algorithm for the Team Orienteering Problem with Variable Profit

An ILS Algorithm for the Team Orienteering Problem with Variable Profit An ILS Algorithm for the Team Orienteering Problem with Variable Profit Aldy Gunawan School of Information Systems Singapore Management University, Singapore Tel: (+65) 6808-5227, Email: aldygunawan@smu.edu.sg

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

DESIGN AND ANALYSIS OF ALGORITHMS GREEDY METHOD

DESIGN AND ANALYSIS OF ALGORITHMS GREEDY METHOD 1 DESIGN AND ANALYSIS OF ALGORITHMS UNIT II Objectives GREEDY METHOD Explain and detail about greedy method Explain the concept of knapsack problem and solve the problems in knapsack Discuss the applications

More information

Integer Programming. Xi Chen. Department of Management Science and Engineering International Business School Beijing Foreign Studies University

Integer Programming. Xi Chen. Department of Management Science and Engineering International Business School Beijing Foreign Studies University Integer Programming Xi Chen Department of Management Science and Engineering International Business School Beijing Foreign Studies University Xi Chen (chenxi0109@bfsu.edu.cn) Integer Programming 1 / 42

More information

Construction of Minimum-Weight Spanners Mikkel Sigurd Martin Zachariasen

Construction of Minimum-Weight Spanners Mikkel Sigurd Martin Zachariasen Construction of Minimum-Weight Spanners Mikkel Sigurd Martin Zachariasen University of Copenhagen Outline Motivation and Background Minimum-Weight Spanner Problem Greedy Spanner Algorithm Exact Algorithm:

More information

Outline. Optimales Recycling - Tourenplanung in der Altglasentsorgung

Outline. Optimales Recycling - Tourenplanung in der Altglasentsorgung 1 Optimales Recycling - Ruhr-Universität Bochum, 15.02.2013 2 1. Introduction and Motivation 2. Problem Definition 3. Literature Review 4. Mathematical Model 5. Variable Neighborhood Search 6. Numerical

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

Minimum-Cost Spanning Tree. Example

Minimum-Cost Spanning Tree. Example Minimum-Cost Spanning Tree weighted connected undirected graph spanning tree cost of spanning tree is sum of edge costs find spanning tree that has minimum cost Example 2 4 12 6 3 Network has 10 edges.

More information

Vladimir Dimitrijevic, Milan Milosavljevic, Milan Markovic. as: nd a minimum cost cycle which includes exactly one vertex from each

Vladimir Dimitrijevic, Milan Milosavljevic, Milan Markovic. as: nd a minimum cost cycle which includes exactly one vertex from each Univ. Beograd. Publ. Elektrotehn. Fak. Ser. Mat. 7 (1996), 31{35. A BRANCH AND BOUND ALGORITHM FOR SOLVING A GENERALIZED TRAVELING SALESMAN PROBLEM Vladimir Dimitrijevic, Milan Milosavljevic, Milan Markovic

More information

Example. Minimum-Cost Spanning Tree. Edge Selection Greedy Strategies. Edge Selection Greedy Strategies

Example. Minimum-Cost Spanning Tree. Edge Selection Greedy Strategies. Edge Selection Greedy Strategies Minimum-Cost Spanning Tree weighted connected undirected graph spanning tree cost of spanning tree is sum of edge costs find spanning tree that has minimum cost Example 2 4 12 6 3 Network has 10 edges.

More information

A Computational Study of Bi-directional Dynamic Programming for the Traveling Salesman Problem with Time Windows

A Computational Study of Bi-directional Dynamic Programming for the Traveling Salesman Problem with Time Windows A Computational Study of Bi-directional Dynamic Programming for the Traveling Salesman Problem with Time Windows Jing-Quan Li California PATH, University of California, Berkeley, Richmond, CA 94804, jingquan@path.berkeley.edu

More information

Solutions to Assignment# 4

Solutions to Assignment# 4 Solutions to Assignment# 4 Liana Yepremyan 1 Nov.12: Text p. 651 problem 1 Solution: (a) One example is the following. Consider the instance K = 2 and W = {1, 2, 1, 2}. The greedy algorithm would load

More information

Two models of the capacitated vehicle routing problem

Two models of the capacitated vehicle routing problem Croatian Operational Research Review 463 CRORR 8(2017), 463 469 Two models of the capacitated vehicle routing problem Zuzana Borčinová 1, 1 Faculty of Management Science and Informatics, University of

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

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

A Steady-State Genetic Algorithm for Traveling Salesman Problem with Pickup and Delivery A Steady-State Genetic Algorithm for Traveling Salesman Problem with Pickup and Delivery Monika Sharma 1, Deepak Sharma 2 1 Research Scholar Department of Computer Science and Engineering, NNSS SGI Samalkha,

More information

MOTION PLANNING FOR UNMANNED AERIAL VEHICLES WITH RESOURCE CONSTRAINTS. A Thesis KAARTHIK SUNDAR

MOTION PLANNING FOR UNMANNED AERIAL VEHICLES WITH RESOURCE CONSTRAINTS. A Thesis KAARTHIK SUNDAR MOTION PLANNING FOR UNMANNED AERIAL VEHICLES WITH RESOURCE CONSTRAINTS A Thesis by KAARTHIK SUNDAR Submitted to the Office of Graduate Studies of Texas A&M University in partial fulfillment of the requirements

More information

Match twice and stitch:a new TSP tour construction heuristic

Match twice and stitch:a new TSP tour construction heuristic Operations Research Letters 32 (2004) 499 509 Operations Research Letters www.elsevier.com/locate/dsw Match twice and stitch:a new TSP tour construction heuristic Andrew B. Kahng, Sherief Reda UCSD Computer

More information

A Note on the Separation of Subtour Elimination Constraints in Asymmetric Routing Problems

A Note on the Separation of Subtour Elimination Constraints in Asymmetric Routing Problems Gutenberg School of Management and Economics Discussion Paper Series A Note on the Separation of Subtour Elimination Constraints in Asymmetric Routing Problems Michael Drexl March 202 Discussion paper

More information

Lecture 3: Totally Unimodularity and Network Flows

Lecture 3: Totally Unimodularity and Network Flows Lecture 3: Totally Unimodularity and Network Flows (3 units) Outline Properties of Easy Problems Totally Unimodular Matrix Minimum Cost Network Flows Dijkstra Algorithm for Shortest Path Problem Ford-Fulkerson

More information

7KH9HKLFOH5RXWLQJSUREOHP

7KH9HKLFOH5RXWLQJSUREOHP 7K9KO5RXWJSUREOP Given a set of vehicles with a certain capacity located at a depot and a set of customers with different demands at various locations, the vehicle routing problem (VRP) is how to satisfy

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

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

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

56:272 Integer Programming & Network Flows Final Examination -- December 14, 1998 56:272 Integer Programming & Network Flows Final Examination -- December 14, 1998 Part A: Answer any four of the five problems. (15 points each) 1. Transportation problem 2. Integer LP Model Formulation

More information

Branch-and-bound: an example

Branch-and-bound: an example Branch-and-bound: an example Giovanni Righini Università degli Studi di Milano Operations Research Complements The Linear Ordering Problem The Linear Ordering Problem (LOP) is an N P-hard combinatorial

More information

THE Traveling Salesman problem (TSP) and the Vehicle

THE Traveling Salesman problem (TSP) and the Vehicle ORP 3 2001, PARIS, SEPTEMBER 26-29. 1 TRAVELING SALESMAN PROBLEMS WITH PROFITS: AN OVERVIEW Dominique Feillet, Pierre Dejax, Michel Gendreau Abstract Traveling Salesman Problems with Profits (TSPs with

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

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

HEURISTIC ALGORITHMS FOR THE GENERALIZED MINIMUM SPANNING TREE PROBLEM

HEURISTIC ALGORITHMS FOR THE GENERALIZED MINIMUM SPANNING TREE PROBLEM Proceedings of the International Conference on Theory and Applications of Mathematics and Informatics - ICTAMI 24, Thessaloniki, Greece HEURISTIC ALGORITHMS FOR THE GENERALIZED MINIMUM SPANNING TREE PROBLEM

More information

Algorithms for the travelling salesman problem

Algorithms for the travelling salesman problem Faculteit Be tawetenschappen Algorithms for the travelling salesman problem Autor: Bachelor Thesis Mathematics June 2017 Isabel Droste 5492335 Supervisor: Prof. Dr. R.H. Bisseling Contents 1 Introduction

More information

IE 102 Spring Routing Through Networks - 1

IE 102 Spring Routing Through Networks - 1 IE 102 Spring 2017 Routing Through Networks - 1 The Bridges of Koenigsberg: Euler 1735 Graph Theory began in 1735 Leonard Eüler Visited Koenigsberg People wondered whether it is possible to take a walk,

More information

Sample Solutions to Homework #4

Sample Solutions to Homework #4 National Taiwan University Handout #25 Department of Electrical Engineering January 02, 207 Algorithms, Fall 206 TA: Zhi-Wen Lin and Yen-Chun Liu Sample Solutions to Homework #4. (0) (a) Both of the answers

More information

NP Completeness. Andreas Klappenecker [partially based on slides by Jennifer Welch]

NP Completeness. Andreas Klappenecker [partially based on slides by Jennifer Welch] NP Completeness Andreas Klappenecker [partially based on slides by Jennifer Welch] Dealing with NP-Complete Problems Dealing with NP-Completeness Suppose the problem you need to solve is NP-complete. What

More information

Traveling Salesman Problems With Profits

Traveling Salesman Problems With Profits Traveling Salesman Problems With Profits DOMINIQUE FEILLET Laboratoire d Informatique d Avignon, 339 Chemin des Meinajariés, BP 1228, 84000 Avignon, France dominique.feillet@lia.univ-avignon.fr PIERRE

More information

Adaptive Large Neighborhood Search

Adaptive Large Neighborhood Search Adaptive Large Neighborhood Search Heuristic algorithms Giovanni Righini University of Milan Department of Computer Science (Crema) VLSN and LNS By Very Large Scale Neighborhood (VLSN) local search, we

More information

An Effective Implementation of the Lin-Kernighan Traveling Salesman Heuristic

An Effective Implementation of the Lin-Kernighan Traveling Salesman Heuristic An Effective Implementation of the Lin-Kernighan Traveling Salesman Heuristic Keld Helsgaun E-mail: keld@ruc.dk Department of Computer Science Roskilde University DK-4000 Roskilde, Denmark Abstract This

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

CS 580: Algorithm Design and Analysis. Jeremiah Blocki Purdue University Spring 2018

CS 580: Algorithm Design and Analysis. Jeremiah Blocki Purdue University Spring 2018 CS 580: Algorithm Design and Analysis Jeremiah Blocki Purdue University Spring 2018 Chapter 11 Approximation Algorithms Slides by Kevin Wayne. Copyright @ 2005 Pearson-Addison Wesley. All rights reserved.

More information

Fall CS598CC: Approximation Algorithms. Chandra Chekuri

Fall CS598CC: Approximation Algorithms. Chandra Chekuri Fall 2006 CS598CC: Approximation Algorithms Chandra Chekuri Administrivia http://www.cs.uiuc.edu/homes/chekuri/teaching/fall2006/approx.htm Grading: 4 home works (60-70%), 1 take home final (30-40%) Mailing

More information

Machine Learning (BSMC-GA 4439) Wenke Liu

Machine Learning (BSMC-GA 4439) Wenke Liu Machine Learning (BSMC-GA 4439) Wenke Liu 01-31-017 Outline Background Defining proximity Clustering methods Determining number of clusters Comparing two solutions Cluster analysis as unsupervised Learning

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

The Vehicle Routing Problem with Time Windows

The Vehicle Routing Problem with Time Windows The Vehicle Routing Problem with Time Windows Dr Philip Kilby Team Leader, Optimisation Applications and Platforms June 2017 www.data61.csiro.au Outline Problem Description Solving the VRP Construction

More information

Discrete (and Continuous) Optimization WI4 131

Discrete (and Continuous) Optimization WI4 131 Discrete (and Continuous) Optimization WI4 131 Kees Roos Technische Universiteit Delft Faculteit Electrotechniek, Wiskunde en Informatica Afdeling Informatie, Systemen en Algoritmiek e-mail: C.Roos@ewi.tudelft.nl

More information

Heuristic Approaches to Solve Traveling Salesman Problem

Heuristic Approaches to Solve Traveling Salesman Problem TELKOMNIKA Indonesian Journal of Electrical Engineering Vol. 15, No. 2, August 2015, pp. 390 ~ 396 DOI: 10.11591/telkomnika.v15i2.8301 390 Heuristic Approaches to Solve Traveling Salesman Problem Malik

More information

Slides on Approximation algorithms, part 2: Basic approximation algorithms

Slides on Approximation algorithms, part 2: Basic approximation algorithms Approximation slides Slides on Approximation algorithms, part : Basic approximation algorithms Guy Kortsarz Approximation slides Finding a lower bound; the TSP example The optimum TSP cycle P is an edge

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

Solving small VRPTWs with Constraint Programming Based Column Generation

Solving small VRPTWs with Constraint Programming Based Column Generation Proceedings CPAIOR 02 Solving small VRPTWs with Constraint Programming Based Column Generation Louis-Martin Rousseau, Michel Gendreau, Gilles Pesant Center for Research on Transportation Université de

More information

3 INTEGER LINEAR PROGRAMMING

3 INTEGER LINEAR PROGRAMMING 3 INTEGER LINEAR PROGRAMMING PROBLEM DEFINITION Integer linear programming problem (ILP) of the decision variables x 1,..,x n : (ILP) subject to minimize c x j j n j= 1 a ij x j x j 0 x j integer n j=

More information

Improvement heuristics for the Sparse Travelling Salesman Problem

Improvement heuristics for the Sparse Travelling Salesman Problem Improvement heuristics for the Sparse Travelling Salesman Problem FREDRICK MTENZI Computer Science Department Dublin Institute of Technology School of Computing, DIT Kevin Street, Dublin 8 IRELAND http://www.comp.dit.ie/fmtenzi

More information

Approximation Algorithms

Approximation Algorithms Approximation Algorithms Given an NP-hard problem, what should be done? Theory says you're unlikely to find a poly-time algorithm. Must sacrifice one of three desired features. Solve problem to optimality.

More information

Multiple Depot Vehicle Routing Problems on Clustering Algorithms

Multiple Depot Vehicle Routing Problems on Clustering Algorithms Thai Journal of Mathematics : 205 216 Special Issue: Annual Meeting in Mathematics 2017 http://thaijmath.in.cmu.ac.th ISSN 1686-0209 Multiple Depot Vehicle Routing Problems on Clustering Algorithms Kanokon

More information

Depth-First Branch-and-Bound versus Local Search: A Case Study

Depth-First Branch-and-Bound versus Local Search: A Case Study From: AAAI-00 Proceedings. Copyright 2000, AAAI (www.aaai.org). All rights reserved. Depth-First Branch-and-Bound versus Local Search: A Case Study Weixiong Zhang Information Sciences Institute and Computer

More information

The metric travelling salesman problem: pareto-optimal heuristic algorithms

The metric travelling salesman problem: pareto-optimal heuristic algorithms 295 The metric travelling salesman problem: pareto-optimal heuristic algorithms Ekaterina Beresneva Faculty of Computer Science National Research University Higher School of Economics Moscow, Russia, +7(925)538-40-58

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

Solving the Euclidean Steiner Tree Problem in n-space

Solving the Euclidean Steiner Tree Problem in n-space Solving the Euclidean Steiner Tree Problem in n-space Marcia Fampa (UFRJ), Jon Lee (U. Michigan), and Wendel Melo (UFRJ) January 2015 Marcia Fampa, Jon Lee, Wendel Melo Solving the Euclidean Steiner Tree

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

15.082J and 6.855J. Lagrangian Relaxation 2 Algorithms Application to LPs

15.082J and 6.855J. Lagrangian Relaxation 2 Algorithms Application to LPs 15.082J and 6.855J Lagrangian Relaxation 2 Algorithms Application to LPs 1 The Constrained Shortest Path Problem (1,10) 2 (1,1) 4 (2,3) (1,7) 1 (10,3) (1,2) (10,1) (5,7) 3 (12,3) 5 (2,2) 6 Find the shortest

More information