Management Science 461 Lecture 7 – Routing (TSP) October 28, 2008.

Slides:



Advertisements
Similar presentations
Vehicle Routing: Coincident Origin and Destination Points
Advertisements

Great Theoretical Ideas in Computer Science
CS6800 Advanced Theory of Computation
Carthagène A brief introduction to combinatorial optimization: The Traveling Salesman Problem Simon de Givry.
Carthagène A brief introduction to combinatorial optimization: The Traveling Salesman Problem Simon de Givry Thales Research & Technology, France (minor.
VEHICLE ROUTING PROBLEM
A Parallel GPU Version of the Traveling Salesman Problem Molly A. O’Neil, Dan Tamir, and Martin Burtscher* Department of Computer Science.
The 2 Period Travelling Salesman Problem Applied to Milk Collection in Ireland By Professor H P Williams,London School of Economics Dr Martin Butler, University.
Vehicle Routing & Scheduling: Part 1
Management Science 461 Lecture 8 – Vehicle Routing November 4, 2008.
Math 308 Discrete Mathematics Discrete Mathematics deals with “Separated” or discrete sets of objects (rather than continuous sets) Processes with a sequence.
Branch and Bound Similar to backtracking in generating a search tree and looking for one or more solutions Different in that the “objective” is constrained.
Math443/543 Mathematical Modeling and Optimization
Vehicle Routing & Scheduling
Travelling Salesman Problem an unfinished story...
Randomized Planning for Short Inspection Paths Tim Danner Lydia E. Kavraki Department of Computer Science Rice University.
EAs for Combinatorial Optimization Problems BLG 602E.
1 Efficiency of Algorithms. 2  Two main issues related to the efficiency of algorithms:  Speed of algorithm  Efficient memory allocation  We will.
Linear Programming Applications
The Traveling Salesperson Problem
Chapter 2: Business Efficiency Lesson Plan Business Efficiency  Visiting Vertices-Graph Theory Problem Hamiltonian Circuits  Vacation Planning Problem.
Ch. 11: Optimization and Search Stephen Marsland, Machine Learning: An Algorithmic Perspective. CRC 2009 some slides from Stephen Marsland, some images.
Escaping local optimas Accept nonimproving neighbors – Tabu search and simulated annealing Iterating with different initial solutions – Multistart local.
1 Traveling Salesman Problem Algorithms and Networks 2014/2015 Hans L. Bodlaender Johan M. M. van Rooij.
The Traveling Salesperson Problem Algorithms and Networks.
Network Models (2) Tran Van Hoai Faculty of Computer Science & Engineering HCMC University of Technology Tran Van Hoai.
1 1 1-to-Many Distribution Vehicle Routing John H. Vande Vate Spring, 2005.
Graph Theory Hamilton Paths and Hamilton Circuits.
Combinatorial Optimization Chapter 1. Problems and Algorithms  1.1 Two Problems (representative problems)  The Traveling Salesman Problem 47 drilling.
6.1 Hamilton Circuits and Paths: Hamilton Circuits and Paths: Hamilton Path: Travels to each vertex once and only once… Hamilton Path: Travels to each.
MODELING AND ANALYSIS OF MANUFACTURING SYSTEMS Session 12 MACHINE SETUP AND OPERATION SEQUENCING E. Gutierrez-Miravete Spring 2001.
Metaheuristic – Threshold Acceptance (TA). 2 Outlines ▪ Measuring Computational Efficiency ▪ Construction Heuristics ▪ Local Search Algorithms ▪ Metaheuristic.
The Traveling Salesman Problem Over Seventy Years of Research, and a Million in Cash Presented by Vladimir Coxall.
Thursday, May 9 Heuristic Search: methods for solving difficult optimization problems Handouts: Lecture Notes See the introduction to the paper.
CSE 589 Part VI. Reading Skiena, Sections 5.5 and 6.8 CLR, chapter 37.
Vehicle Routing & Scheduling
Traveling Salesman Problem (TSP)
TSP – Upper Bounds and Lower Bounds Initial problem : Upper Bound A salesman based in Stockton needs to visit shops based in Darlington, Billingham, Middlesbrough,
Integer Programming (정수계획법)
Transportation Logistics CEE 498B/599I Professor Goodchild 4/18/07.
1 Travelling Salesman Problem Algorithms and Networks 2015/2016 Hans L. Bodlaender Johan M. M. van Rooij.
CIRCUITS, PATHS, AND SCHEDULES Euler and Königsberg.
1 An Arc-Path Model for OSPF Weight Setting Problem Dr.Jeffery Kennington Anusha Madhavan.
Vehicle Routing Problems
Vehicle Routing & Scheduling Cluster Algorithms Improvement Heuristics Time Windows.
Lecture 6 – Integer Programming Models Topics General model Logic constraint Defining decision variables Continuous vs. integral solution Applications:
Management Science 461 Lecture 3 – Covering Models September 23, 2008.
Genetic Algorithms and TSP Thomas Jefferson Computer Research Project by Karl Leswing.
I can describe the differences between Hamilton and Euler circuits and find efficient Hamilton circuits in graphs. Hamilton Circuits I can compare and.
Chapter 14 Section 3 - Slide 1 Copyright © 2009 Pearson Education, Inc. AND.
Unit 2 Hamiltonian Circuits. Hamiltonian Circuit: A tour that starts at a vertex of a graph and visits each vertex once and only once, returning to where.
Mathematical modeling To describe or represent a real-world situation quantitatively, in mathematical language.
A MapReduced Based Hybrid Genetic Algorithm Using Island Approach for Solving Large Scale Time Dependent Vehicle Routing Problem Rohit Kondekar BT08CSE053.
Management Science 461 Lecture 4b – P-median problems September 30, 2008.
Solving Traveling salesman Problem with Hopfield Net
Routing Through Networks - 1
Chapter 2: Business Efficiency Lesson Plan
Traveling Salesman Problem
Chapter 2: Business Efficiency Lesson Plan
GEOP 4355 Transportation Routing Models
Integer Programming (정수계획법)
Chapter 2: Business Efficiency Business Efficiency
Heuristic Algorithms via VBA
traveling salesman problem
Integer Programming (정수계획법)
The Traveling Salesperson Problem
Heuristic Algorithms via VBA
Heuristic Algorithms via VBA
Vehicle Routing John H. Vande Vate Fall,
The Travelling Salesman
Presentation transcript:

Management Science 461 Lecture 7 – Routing (TSP) October 28, 2008

2 Facility Location Models Assumes  Shipments are not combined  Each truck serves one client at a time  Shortest path between facility and client Can we relax this assumption?  Combine shipments  Respect truck capacity  Respect trip time limit

3 Problem Description Given a set of nodes and a cost metric (distance matrix, network, time network, etc) Find a route of minimum total length that visits each node exactly once This is called the Travelling Salesman Problem. Sounds easy….

4 Applications Business: delivery routes, facility layout Manufacturing: Job scheduling, job execution order, robotic function ordering State of art: Concorde Largest TSP solved: 49 in 1954; 532 in 1987; 7,397 in 1994; 24,978 in 2004 (took 8 years of computation time)

Modelling TSP Minimize total cost travelled, making sure each node is visited Have full distance matrix D for all O-D pairs Binary variable X ij is 1 if node j visited after node i in the tour Constraint: ensure all cities visited. 5

Formulation 6

Problem – Nothing prohibits a subtour Need one constraint for every possible tour, which is 2 N

8 Heuristics for the TSP Trade-off between finding good solutions and time spent coding Simple heuristics in this class:  Construction Heuristics: Nearest Neighbor, Nearest Insertion, Cheapest Insertion, Farthest Insertion  Improvement Heuristics: 2-opt and k-opt  Others – See Concorde

9 Nearest Neighbor (NN) Start with a random node n  Find the nearest node to n not already selected  Select the node, travel there  Repeat until all nodes selected; reconnect to n

FromToDist

FromToDist

FromToDist

13 2 FromToDist

14 Nearest Insertion (NI) Choose a starting node Choose a node to enter the path by considering minimum distance Consider where on the tour is the least- cost location for adding the node Repeat until all nodes are part of the tour.

FromToDist

FromToDist (4) : 8

(8) : 20 : 15 FromToDist :

(15) : 25 : : FromToDist :

(21) : 32 : : FromToDist : :

20 2-opt Heuristic Start with a completed tour Repeat until no improvements possible:  Repeat for all pairs of links on the tour: Consider deleting the pair and reconstructing a valid tour Keep the modification that most improves tour length

21 2-Opt Heuristic k+1 j+1 k j k+1 j+1 k j Before After: alternate links part of path reversed Repeat for all pairs of links until no improvement possible

opt example

Another 2-opt example

Not a tour! Another example

25 Comparison Between Heuristics Heuristicavg. % above opt. Nearest neighbor (100 runs)15.3 Nearest insertion (100 runs)17.6 Cheapest insertion (100 runs)13.9 Farthest insertion (100 runs) 4.9 Arbitrary insertion (100 runs) 3.8 Clarke-Wright (100 runs) Opt (25 runs) Opt (50 runs) + 3-Opt 0.9 NN + 2-Opt + 3-Opt 1.2 AI + 3-Opt (10 runs) 1.0 FI + 3-Opt (10 runs) 0.8 Four composite heur. above 0.5