Professional Documents
Culture Documents
Vehicle Routing
Chris Caplice
ESD.260/15.770/1.260 Logistics Systems
Nov 2006
Local Routing
Large Number of Network Problems we will look at four
Transportation Problem
Shortest Path
Network
1.
2.
3.
...
d12
d13
d14
d1n
d23
d24
d2n
d34
d3n
4.
d4n
...
Label Setting
Label Correcting
n
MIT Center for Transportation & Logistics ESD.260
Transportation Problem
Find minimum cost routes for between
multiple origins and destinations
Flow is fungible same products
Min
ijN
x
j =1
ij
i =1
ij
= Supplyi
= Demand j
xij 0
Cust A
Supply 1 DC1
cij xij
s.t.
i
j
ij
Demand A
Cust B Demand B
Supply 2 DC2
MIT Center for Transportation & Logistics ESD.260
Cust C
5
Demand C
Chris Caplice, MIT
http://www.tsp.gatech.edu/index.html
100,000,000,000
10,000,000,000
1,000,000,000
100,000,000
10,000,000
1,000,000
100,000
10,000
1,000
100
10
1
1
10
11 12
13 14 15
Construction
Nearest neighbor
Greedy (complete graph, pick shortest edge until Hamiltonian path)
Sweep (example of Cluster-First, Route-Second)
Space filling curve (example of Route-First, Cluster-Second)
Insertion (nearest, cheapest)
Savings (Clarke-Wright)
Local Improvement
2-opt
3-opt
Meta-heuristics
Tabu Search
Ant System
Simulated Annealing
Genetic Algorithms
Constraint Programming
Insertion Heuristic
2-Opt Heuristic
Types of problems
Initial Routes
10 Routes
2006 Miles
utes
10
Optimized Routes
From 10 to 7 Routes
30% savings
From 2006 to 1345 Miles
32% improvement
Difficult to evaluate
quality by inspection
11
VRP is NP-Hard
Combinatorial Growth
3 stops
5 stops
10 stops
Customers
total
on the route
10
3
20
3
30
3
40
3
50
3
60
3
70
3
80
3
90
3
100
3
10
20
30
40
50
60
70
80
90
100
5
5
5
5
5
5
5
5
5
5
total
10
20
30
40
50
60
70
80
90
100
on the route
10
10
10
10
10
10
10
10
10
10
Difficult to evaluate
quality by enumeration
Ways to select and sequence the route
720
6,840
24,360
59,280
117,600
205,320
328,440
492,960
704,880
970,200
252
15,504
142,506
658,008
2,118,760
5,461,512
12,103,014
24,040,016
43,949,268
75,287,520
30,240
1,860,480
17,100,720
78,960,960
254,251,200
655,381,440
1,452,361,680
2,884,801,920
5,273,912,160
9,034,502,400
1
184,756
30,045,015
847,660,528
10,272,278,170
75,394,027,566
396,704,524,216
1,646,492,110,120
5,720,645,481,903
17,310,309,456,440
3,628,800
670,442,572,800
109,027,350,432,000
3,075,990,524,006,400
37,276,043,023,296,000
273,589,847,231,501,000
1,439,561,377,475,020,000
5,974,790,569,203,460,000
20,759,078,324,729,600,000
62,815,650,955,529,500,000
12
Heuristics
Route first Cluster second
Sweep Algorithm
Savings (Clarke-Wright)
Optimal
MILP Column Generation
13
*
*
*
*
DC
*
*
*
*
*
*
14
* *
*
*
*
*
*
*
*
*
*
*
*
*
DC
*
*
*
*
*
*
15
* *
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
DC
*
*
*
*
*
*
16
* *
*
*
*
*
*
*
*
*
DC
*
*
*
*
*
*
17
* *
*
*
*
*
*
*
*
*
*
*
*
*
*
*
DC
*
*
*
1.
2.
*
*
*
18
* *
*
*
*
*
Savings Algorithm
Clark-Wright Algorithm
1
2
10
15
19
22
23
35
12
21
Origin
4
MIT Center for Transportation & Logistics ESD.260
19
Savings Algorithm
Suppose Max Capacity = 3
Savings = c0i + cj0 cij
S(1,2)
S(1,3)
S(1,4)
S(2,3)
S(2,4)
S(3,4)
=
=
=
=
=
=
10
10
10
15
15
19
+
+
+
+
+
+
15
19
22
19
22
22
8 = 17
23 = 6
35 = -3
12 = 22
21 = 16
5 = 36
0
1
2
3
10
15
19
22
23
35
12
21
tour = 132
4
1
2
3
tour = 96
4
1
2
3
tour = 74
20
..
Stop N
Route 1
C1
1
1
1
0
0
0
0
0
0
0
Route 2
C2
0
1
1
1
0
0
0
0
0
0
Route 3
C3
0
0
1
1
1
0
0
0
0
0
.
.
1
0
1
0
1
0
0
0
0
0
..
.
0
1
0
1
0
1
0
0
0
0
Route M
Cm
1
0
0
1
0
0
1
0
0
0
1
1
1
1
1
1
1
1
1
1
Minimize: C jYj
j
Subject to:
J
a Y
ij
Di ; for all I
j=1
21
Same Example
10
15
19
22
23
35
12
21
2
3
Dec Var 1
Route 1
Route 2
Route 3
Route 4
Route 5
Route 6
Route 7
Route 8
Route 9
Route 10
Route 11
Route 12
Route 13
Route 14
Total Dist
132
1
0
0
0
1
20
0
1
0
0
1
30
0
0
1
0
1
38
0 1
0 1
0 0
1 0
1 2
44 33
1
0
1
0
2
52
1
0
0
1
2
67
0
1
1
0
2
46
0
1
0
1
2
58
0
0
1
1
2
46
1
1
1
0
3
59
1
1
0
1
3
61
1
0
1
1
3
60
0
1
1
1
3
54
Stop 1
Stop 2
Stop 3
Stop 4
Capacity
Distance
22
Sum
1
1
1
1
>=
>=
>=
>=
RHS
1
1
1
1
Regardless of Approach
Rules of Thumb
Good
Good
Good
Good
23
Academic problems
Sourcing
Multiple depot
Dynamic sourcing (depot varies)
Order
Multiple dimensions (e.g. cube,
weight)
Mixed pickup and delivery
Time window
Vendor Managed Inventory
Plan
Resource
Backhaul
Continuous moves
24
Fixed/static routes
Quarterly, annually
Driver familiarity
Ease of execution
Primary disadvantages
Primary disadvantages
Difficulty of determining
optimum routes
Difficulty of maintaining route
planning process
Execution may not match plan
25
Real-World Issues
The real world does not behave according to uniform assumptions
Dock configuration
Dock hours
Trailer types
Moveable bulkheads (bulk liquids, grocery reefers)
Truck types
Truck-trailer combos: doubles & triples (pups)
Compatibility: order-vehicle, order-order, vehicle-site
Preferred customers (big box)
Driver preferences (seniority, local knowledge)
Driver skills (service technician)
Rush hour traffic
Real-time dispatching (deployed vehicles)
Refueling
Maintenance
26
Element Interactions
Truck & Trailer
Products may not mix (lumber & light bulbs, bottled water &
dehydrated food, etc.)
27
Manual Planning
Plan using paper, pencil, and experience
Advantages
Challenges
Map-on-the-wall
Interactive GIS
Plan using human intuition, guided by simple heuristics
Advantages
Challenges
Typically decentralized
Map-on-the-PC
Automated Heuristics
Plan using construction, local improvement, & other
heuristics
Advantages
Challenges
changes
Hard to know when to settle on a solution
Complexity
Not as good if there are complex constraints or shipments vary in size
Need sophisticated expert to improve or tune
Typically users stick with the same approach and manually edit
plans
Adapted from Goentzel 2004
30
Optimization
Column generation and set covering IP
Advantages
Challenges
31
Questions?