1 1 1-to-Many Distribution Vehicle Routing John H. Vande Vate Spring, 2005.

Slides:



Advertisements
Similar presentations
Great Theoretical Ideas in Computer Science
Advertisements

Instructor Neelima Gupta Table of Contents Approximation Algorithms.
Great Theoretical Ideas in Computer Science for Some.
Reducibility Class of problems A can be reduced to the class of problems B Take any instance of problem A Show how you can construct an instance of problem.
DMOR Networks. Graphs: Koenigsberg bridges Leonard Euler problem (1736)
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.
9.2 The Traveling Salesman Problem. Let us return to the question of finding a cheapest possible cycle through all the given towns: We have n towns (points)
Combinatorial Algorithms
Vehicle Routing & Scheduling: Part 1
Great Theoretical Ideas in Computer Science.
1 Discrete Structures & Algorithms Graphs and Trees: II EECE 320.
Approximation Algorithms: Combinatorial Approaches Lecture 13: March 2.
Approximation Algorithms: Concepts Approximation algorithm: An algorithm that returns near-optimal solutions (i.e. is "provably good“) is called an approximation.
CAPS RoutePro Routing Environment. Solution Methods. Backhauls. Dispatcher Interface. Demonstration.
Great Theoretical Ideas in Computer Science.
Vehicle Routing & Scheduling
Travelling Salesman Problem an unfinished story...
EAs for Combinatorial Optimization Problems BLG 602E.
The Travelling Salesman Problem (TSP)
Package Transportation Scheduling Albert Lee Robert Z. Lee.
Theory of Computing Lecture 10 MAS 714 Hartmut Klauck.
1.3 Modeling with exponentially many constr.  Some strong formulations (or even formulation itself) may involve exponentially many constraints (cutting.
Routing and Scheduling in Transportation. Vehicle Routing Problem Determining the best routes or schedules for pickup/delivery of passengers or goods.
Chapter 12 Coping with the Limitations of Algorithm Power Copyright © 2007 Pearson Addison-Wesley. All rights reserved.
The Traveling Salesman Problem Approximation
IT 60101: Lecture #201 Foundation of Computing Systems Lecture 20 Classic Optimization Problems.
Great Theoretical Ideas in Computer Science.
MODELING AND ANALYSIS OF MANUFACTURING SYSTEMS Session 12 MACHINE SETUP AND OPERATION SEQUENCING E. Gutierrez-Miravete Spring 2001.
Princeton University COS 423 Theory of Algorithms Spring 2001 Kevin Wayne Approximation Algorithms These lecture slides are adapted from CLRS.
Using traveling salesman problem algorithms for evolutionary tree construction Chantal Korostensky and Gaston H. Gonnet Presentation by: Ben Snider.
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.
Traveling Salesman Problem (TSP)
Transportation Logistics Professor Goodchild Spring 2011.
Week 12 - Wednesday.  What did we talk about last time?  Matching  Stable marriage  Started Euler paths.
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.
1 1 1-to-Many Distribution Vehicle Routing Part 2 John H. Vande Vate Spring, 2005.
8/14/04 J. Bard and J. W. Barnes Operations Research Models and Methods Copyright All rights reserved Lecture 6 – Integer Programming Models Topics.
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:
Approximation Algorithms
12/27/001 1-to-Many Distribution Vehicle Routing Part 2 John H. Vande Vate Spring, 2001.
Management Science 461 Lecture 7 – Routing (TSP) October 28, 2008.
Approximation Algorithms by bounding the OPT Instructor Neelima Gupta
Instructor Neelima Gupta Table of Contents Introduction to Approximation Algorithms Factor 2 approximation algorithm for TSP Factor.
1 1 Vehicle Routing Part 2 John H. Vande Vate Fall, 2002.
Grade 11 AP Mathematics Graph Theory Definition: A graph, G, is a set of vertices v(G) = {v 1, v 2, v 3, …, v n } and edges e(G) = {v i v j where 1 ≤ i,
Traveling Salesman Problem DongChul Kim HwangRyol Ryu.
The travelling salesman problem Finding an upper bound using minimum spanning trees Find a minimum spanning tree using Prim’s algorithm or Kruskal’s algorithm.
Routing Through Networks - 1
Hamiltonian Cycle and TSP
Great Theoretical Ideas in Computer Science
1 The Travelling Salesman Problem (TSP) H.P. Williams Professor of Operational Research London School of Economics.
Approximation Algorithms
1.3 Modeling with exponentially many constr.
Heuristics Definition – a heuristic is an inexact algorithm that is based on intuitive and plausible arguments which are “likely” to lead to reasonable.
Discrete Mathematics for Computer Science
Integer Programming (정수계획법)
András Sebő and Anke van Zuylen
1.3 Modeling with exponentially many constr.
Planning the transportation of elderly to a daycare center
traveling salesman problem
EMIS 8373: Integer Programming
Integer Programming (정수계획법)
Approximation Algorithms
Vehicle Routing John H. Vande Vate Fall,
Presentation transcript:

1 1 1-to-Many Distribution Vehicle Routing John H. Vande Vate Spring, 2005

2 2 Shared Transportation Capacity Large shipments reduce transportation costs but increase inventory costs EOQ trades off these two costs Reduce shipment size without increasing transportation costs? Combine shipments on one vehicle

3 3 TL vs LTL         Inventory Transport Inventory

4 4 Shared Loads         Inventory Transport Transport? Inventory ?

5 5 Issues Design Routes that –Minimize the transportation cost –Respect the capacity of the vehicle This may require several routes –Consider inventory holding costs This may require more frequent visits

6 6 Our Approach Minimize Transportation Cost (Distance) –Traveling Salesman Problem Respect the capacity of the Vehicle –Multiple Traveling Salesmen Consider Inventory Costs –Estimate the Transportation Cost –Estimate the Inventory Cost –Trade off these two costs.

7 7 The Traveling Salesman Problem Minimize Distance s.t. –start at the depot, –visit each customer exactly once, –return to the depot A single vehicle no capacity Only issue is distance.

8 8 IP Formulation Set Cities; param d{Cities, Cities}; var x{Cities, Cities} binary; minimize Distance: sum{f in Cities, t in Cities}d[f,t]x[f,t]; s.t. DepartEachCity{f in Cities}: sum{t in Cities}x[f,t] = 1; s.t. ArriveEachCity{t in Cities}: sum{f in Cities}x[f,t] = 1;

9 9 SubTours        3 cities 3 edges

10 Eliminating Subtours S.t. SubTourElimination {S subset Cities: card(S) > 0 and card(S) < card(Cities)}: sum{f in S, t in S} x[f,t] <= card(S) - 1;

11 An Equivalent Statement        3 cities No edges out

12 An Equivalent Formulation S.t. SubTourElimination {S subset Cities: card(S) > 0 and card(S) < card(Cities)}: sum{f in S, t not in S} x[f,t] >= 1;

13 How Many Constraints? How many subsets of N items? 2 N Omit 2 subsets: –All N items –The empty set 2 N - 2

14 OK, Half of that... If we have an edge out of S, we must have an edge out of N\S. Why? The edge out of S is an edge into N\S. But there are exactly |N\S| edges into cities in N\S. Since one of them comes from S, not all the edges from cities in N\S can lead to cities in N\S. At least one must go to S.

15 Still Lots! How many subsets of N items? 2 N Omit 2 subsets: –All N items –The empty set 2 N - 2 Half of that: 2 N-1 - 1

16 How Many? N 2 N Too Many!

17 Optimization is Possible But... It is difficult Few 100 cities is the limit For more details see Is it appropriate? Other approaches….

18 Heuristics The Strip Heuristic –Partition the region into narrow strips –Routing in each strip is easy ~ 1-Dimensional –Paste the routes together

19 The Strip Heuristic x x x x x x x x x x x x x x x x

20 Nearest Neighbor x x x x x x x x x x x x x x x x

21 Clark-Wright Shortcut a “tour” by finding the greatest “savings” x x x x x x

22 Clark-Wright Shortcut a “tour” by finding the greatest “savings” x x x x x x

23 Nearest Insertion x x x x x x x x x x x x x x x x

24 Nearest Insertion x x x x x x x x x x x x x x x x

25 Nearest Insertion x x x x x x x x x x x x x x x x

26 Nearest Insertion x x x x x x x x x x x x x x x x

27 Nearest Insertion x x x x x x x x x x x x x x x x

28 Nearest Insertion x x x x x x x x x x x x x x x x

29 Nearest Insertion x x x x x x x x x x x x x x x x

30 Nearest Insertion x x x x x x x x x x x x x x x x

31 Nearest Insertion x x x x x x x x x x x x x x x x

32 Nearest Insertion x x x x x x x x x x x x x x x x

33 Nearest Insertion x x x x x x x x x x x x x x x x

34 Nearest Insertion x x x x x x x x x x x x x x x x

35 Nearest Insertion x x x x x x x x x x x x x x x x

36 Nearest Insertion x x x x x x x x x x x x x x x x

37 Nearest Insertion x x x x x x x x x x x x x x x x

38 Improvement Heuristics 2-Opt x x x x x x x x x x x x x x x x

39 Local Minima No improvement found, but… Tour still isn’t good

40 Probabilistic Methods Simulated Annealing With probability that reduces over time, accept an exchange that makes things worse (gets you out of local minima).

41 Optimization-Base Heuristics Minimum Spanning Tree Heuristic Build a minimum spanning tree on the edges between customers Double the tree to get a Eulerian Tour (visits everyone perhaps several times and returns to the start) Short cut the Eulerian Tour to get a Hamilton Tour (Traveling Salesman Tour)

42 The Spanning Tree Is Easy to construct –Use the Greedy Algorithm Add edges in increasing order of length Discard any that create a cycle Is a Lower bound on the TSP –Drop one edge from the TSP and you have a spanning tree –It must be at least as long as the minimum spanning tree

43 The Spanning Tree x x x x x x x x x x x x x x x x

44 Double the Spanning Tree Duplicate each edge in the Spanning Tree The resulting graph is connected The degree at every node must be even That’s an Eulerian Graph (you can start at a city, walk on each edge exactly once and return to where you started) It’s no more than twice the length of the shortest TSP

45 The Spanning Tree x x x x x x x x x x x x x x x x

46 Short Cut the Eulerian Tour x x x x x x x x x x x x x x x x

47 Short Cut the Eulerian Tour x x x x x x x x x x x x x x x x

48 Spacefilling Curves There are no more points in the unit square than in the interval from 0 to 1!?

49 “Proof” Each point (X,Y) on the map For illustration let’s consider points in [0, 32] 2 Express X = string of 0’s and 1’s, 5 before the decimal –X = 16.5 = *2 4 +0*2 3 +0*2 2 +0*2 1 +0*2 0 +1* *2 -2 Express Y = string of 0’s and 1’s5 before the decimal –Y = 9.75 = *2 4 +1*2 3 +0*2 2 +0*2 1 +1*2 0 +1* *2 -2 Space Filling Number - interleave bits and move the decimal –  (X,Y) =

50 So,... Each pair of points X = 16.5 = Y = 9.75 = maps to a unique point  (X,Y) =

51 How to Use this? A mapping of  (X,Y) into the unit interval, i.e = X = 16.5 = Y = 9.75 = Think of this as the inverse mapping of the unit interval onto the square (our super tour) For a given customer  (X,Y) is the fraction of the way along the super tour where it lies Visit the customers in the order of  (X,Y) (short cut the super tour to visit our customers)

52 The TSP For More on SpaceFilling Curves visit There are several books on the TSP ….

53 Our Approach Minimize Transportation Cost (Distance) –Traveling Salesman Problem Respect the capacity of the Vehicle –Multiple Traveling Salesmen Consider Inventory Costs –Estimate the Transportation Cost –Estimate the Inventory Cost –Trade off these two costs.

54 Different Approaches Route First - Cluster Second –Build a TSP tour –Partition it to meet capacity Cluster First - Route Second –Decide who gets served by each route –Then build the routes

55 Route First x x x x x x x x x x x x x x x x Vehicle Cap: 15

56 Cluster First Sweep Heuristic x x x x x x x x x x x x x x x x Vehicle Cap: 15

57 Our Approach Minimize Transportation Cost (Distance) –Traveling Salesman Problem Respect the capacity of the Vehicle –Multiple Traveling Salesmen Consider Inventory Costs –Estimate the Transportation Cost –Estimate the Inventory Cost –Trade off these two costs.