Chapter 7: Transportation Models Skip Ship Routing & Scheduling (pp. 212-214) Service Selection Shortest Path Transportation Problem Vehicle Routing &

Slides:



Advertisements
Similar presentations
Traffic assignment.
Advertisements

ITS THE FINAL LECTURE! (SING IT, YOU KNOW YOU WANT TO) Operations Research.
Networks Prim’s Algorithm
1 Lecture 2 Shortest-Path Problems Assignment Problems Transportation Problems.
BU BU Decision Models Networks 1 Networks Models Summer 2013.
Transportation Problem (TP) and Assignment Problem (AP)
TRANSPORTATION PROBLEM Finding Initial Basic Feasible Solution Shubhagata Roy.
Chapter 6 Maximum Flow Problems Flows and Cuts Augmenting Path Algorithm.
Vehicle Routing & Scheduling: Part 1
Vehicle Routing & Scheduling Multiple Routes Construction Heuristics –Sweep –Nearest Neighbor, Nearest Insertion, Savings –Cluster Methods Improvement.
Network Optimization Models: Maximum Flow Problems
3 -1 Chapter 3 The Greedy Method 3 -2 The greedy method Suppose that a problem can be solved by a sequence of decisions. The greedy method has that each.
Network Optimization Models: Maximum Flow Problems In this handout: The problem statement Solving by linear programming Augmenting path algorithm.
Example 5.3 More General Logistics Models | 5.2 | 5.4 | 5.5 | 5.6 | 5.7 | 5.8 | 5.9 | 5.10 | 5.10a a Background Information.
Vehicle Routing & Scheduling
Chapter 7 Network Flow Models.
Chapter 11 Network Models. What You Need to Know For each of the three models: –What is the model? (what are given and what is to calculate) –What is.
Transportation, Assignment, Network Models
Vehicle Routing & Scheduling: Part 2 Multiple Routes Construction Heuristics –Sweep –Nearest Neighbor, Nearest Insertion, Savings –Cluster Methods Improvement.
1 1 Slide © 2000 South-Western College Publishing/ITP Slides Prepared by JOHN LOUCKS.
NetworkModel-1 Network Optimization Models. NetworkModel-2 Network Terminology A network consists of a set of nodes and arcs. The arcs may have some flow.
Transportation Models
Example 15.4 Distributing Tomato Products at the RedBrand Company
Package Transportation Scheduling Albert Lee Robert Z. Lee.
Transport Decisions Chapter 7
© The McGraw-Hill Companies, Inc., Chapter 3 The Greedy Method.
Operations Research Assistant Professor Dr. Sana’a Wafa Al-Sayegh 2 nd Semester ITGD4207 University of Palestine.
Shortest Path Algorithm This is called “Dijkstra’s Algorithm” …pronounced “Dirk-stra”
and 6.855J The Capacity Scaling Algorithm.
Networks and the Shortest Path Problem.  Physical Networks  Road Networks  Railway Networks  Airline traffic Networks  Electrical networks, e.g.,
Network Optimization Models
The Supply Chain Customer Supplier Manufacturer Distributor
Some network flow problems in urban road networks Michael Zhang Civil and Environmental Engineering University of California Davis.
Chapter 7 Transportation, Assignment & Transshipment Problems
. 1 Transportation and Assignment Problems. . 2 Applications Physical analog of nodes Physical analog of arcs Flow Communication systems phone exchanges,
Network Optimization Problems
Welcome to MM305 Unit 6 Seminar Larry Musolino
QUANTITATIVE ANALYSIS FOR MANAGERS TRANSPORTATION MODEL
Transportation Problems Dr. Ron Lembke. Transportation Problems Linear programming is good at solving problems with zillions of options, and finding the.
Route Planning Texas Transfer Corp (TTC) Case 1. Linear programming Example: Woodcarving, Inc. Manufactures two types of wooden toys  Soldiers sell for.
1 1 © 2003 Thomson  /South-Western Slide Slides Prepared by JOHN S. LOUCKS St. Edward’s University.
CS 4407, Algorithms University College Cork, Gregory M. Provan Network Optimization Models: Maximum Flow Problems In this handout: The problem statement.
1 Network Models Transportation Problem (TP) Distributing any commodity from any group of supply centers, called sources, to any group of receiving.
Graphs A ‘Graph’ is a diagram that shows how things are connected together. It makes no attempt to draw actual paths or routes and scale is generally inconsequential.
Welcome Unit 6 Seminar MM305 Wednesday 8:00 PM ET Quantitative Analysis for Management Delfina Isaac.
Vehicle Routing & Scheduling Cluster Algorithms Improvement Heuristics Time Windows.
1 1 Slide © 2008 Thomson South-Western. All Rights Reserved © 2011 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or.
Decision Maths 1 Shortest path algorithm Dijkstra’s Algorithm A V Ali :
6/12/2016© 2010 Raymond P. Jefferis IIILect The Network Layer.
MATRIX FORM OF PRIM’S ALGORITHM. This network may be described using a Distance Matrix.
Minimum Cost Flow Algorithms and Networks. Algorithms and Networks: Minimum Cost Flow2 This lecture The minimum cost flow problem: statement and applications.
Network Analyst. Network A network is a system of linear features that has the appropriate attributes for the flow of objects. A network is typically.
1 Chapter 13 Mathematical models of networks give us algorithms so computationally efficient that we can employ them to evaluate problems too big to be.
SHORTEST ROUTE PROBLEM A Networking Model Report for DPA 702 QUANTITATIVE METHODS OF RESEARCH By: ALONA M. SALVA Cebu Technological University.
Shortest Path from G to C Using Dijkstra’s Algorithm
The assignment problem
Algorithms and Networks
The Transportation Model
Chapter 12 Network Models 12-1
Routing and Logistics with TransCAD
Transport Decisions Chapter 7
Shortest Path.
Networks and Shortest Paths
TRANSPORTATION PROBLEM
Chapter 5 Transportation, Assignment, and Transshipment Problems
Algorithms and Networks
Operations Management
Networks Prim’s Algorithm
Shortest Path Solutions
Operations Management
Presentation transcript:

Chapter 7: Transportation Models Skip Ship Routing & Scheduling (pp ) Service Selection Shortest Path Transportation Problem Vehicle Routing & Scheduling –One route: TSP –Multiple routes: VRP Consolidation

Service Selection (Mode Selection) Most important factors: –Dependability (on-time delivery). –Cost. –Safety. –Tracking. Different modes have different costs and characteristics. Lowest transportation cost is not always best.

Service Selection Tradeoff Transportation Cost vs. Inventory Cost. Shorter transit time:  Higher transportation cost.  Fewer days held  Lower inventory cost. Usually, Shorter transit time  Smaller vehicles.  More frequent trips  Higher transportation cost.  Fewer units held  Lower inventory cost.

Service Selection for Competing Suppliers One buyer purchases 1000 cwt from each of two competing suppliers: A and B. Both use rail transport, but could use truck transport. Supplier profit = $20/cwt - transport cost. Transport CostDelivery Time Rail $2/cwt 6 days Truck $5/cwt 3 days Buyer offers to switch 100 cwt to supplier A from B for each day decrease in delivery time. For supplier A: SalesProfit Rail (current)1000 cwt 1000 cwt ($20/cwt - $2/cwt) = $18,000 Truck1300 cwt 1300 cwt ($20/cwt - $5/cwt) = $19,500

Service Selection for Competing Suppliers What if supplier B also switches to truck? Buyer should give each equal business: SalesProfit Supplier A1000 cwt 1000 cwt ($20/cwt - $5/cwt) = $15,000 Supplier B1000 cwt 1000 cwt ($20/cwt - $5/cwt) = $15,000 So both suppliers are worse off than before! ($15,000 profit vs. $18,000 using rail)

Shortest Path Model Network includes: –Nodes: cities, customers, demand points –Arcs or Links: Transportation links –Number for each link to represent travel cost, time or distance. A F D B E C

Shortest Path Problem Given: –A network with a specified origin and destination. –The distance (or travel time or cost) for each link. Determine the shortest path from the origin to the destination. Solution:Labeling algorithm (one of many) –Nodes are labeled as "solved" or "unsolved". –Solved = shortest path from the origin to that node is known.

Shortest Path Labeling Algorithm 1. The origin is a solved node. All others are unsolved. 2. For each solved node, find the one unsolved node that is nearest and calculate the minimum total distance (origin to solved node + solved node to nearest unsolved node). 3. Make the unsolved node with the smallest total distance a solved node. 4. Repeat steps 2 and 3 until the destination is a solved node. 5. Trace the shortest path.

Shortest Path Example 1 A F D B E C Find the shortest path from A to F.

Shortest Path Example 1 Nearest Total Minimum Solved Unsolved Distance Nearest DistancePath A C 20 A F D B E C *

Shortest Path Example 1 Nearest Total Minimum Solved Unsolved Distance Nearest DistancePath A C 20 C 20 A-C A F D B E C * *

Shortest Path Example 1 Nearest Total Minimum Solved Unsolved Distance Nearest DistancePath A C 20 C 20 A-C A C A F D B E C * *

Shortest Path Example 1 Nearest Total Minimum Solved Unsolved Distance Nearest DistancePath A C 20 C 20 A-C A B 22 C A F D B E C * *

Shortest Path Example 1 Nearest Total Minimum Solved Unsolved Distance Nearest DistancePath A C 20 C 20 A-C A B 22 C D 26 A F D B E C * *

Shortest Path Example 1 Nearest Total Minimum Solved Unsolved Distance Nearest DistancePath A C 20 C 20 A-C A B 22 B 22 A-B C D 26 A F D B E C * * *

Shortest Path Example 1 Nearest Total Minimum Solved Unsolved Distance Nearest DistancePath A C 20 C 20 A-C A B 22 B 22 A-B C D 26 A B C A F D B E C * * *

Shortest Path Example 1 Nearest Total Minimum Solved Unsolved Distance Nearest DistancePath A C 20 C 20 A-C A B 22 B 22 A-B C D 26 A D 30 B C A F D B E C * * *

Shortest Path Example 1 Nearest Total Minimum Solved Unsolved Distance Nearest DistancePath A C 20 C 20 A-C A B 22 B 22 A-B C D 26 A D 30 B E 32 C A F D B E C * * *

Shortest Path Example 1 Nearest Total Minimum Solved Unsolved Distance Nearest DistancePath A C 20 C 20 A-C A B 22 B 22 A-B C D 26 A D 30 B E 32 C D 26 A F D B E C * * *

Shortest Path Example 1 Nearest Total Minimum Solved Unsolved Distance Nearest DistancePath A C 20 C 20 A-C A B 22 B 22 A-B C D 26 A D 30 B E 32 C D 26 D 26 C-D A F D B E C * * * *

Nearest Total Minimum Solved Unsolved Distance Nearest DistancePath A C 20 C 20 A-C A B 22 B 22 A-B C D 26 A D 30 B E 32 D 26 C-D C D 26 B C D A F D B E C * * * *

Nearest Total Minimum Solved Unsolved Distance Nearest DistancePath A C 20 C 20 A-C A B 22 B 22 A-B C D 26 A D 30 B E 32 D 26 C-D C D 26 B E 32 C E 32 D E 31 A F D B E C * * * *

Nearest Total Minimum Solved Unsolved Distance Nearest DistancePath A C 20 C 20 A-C A B 22 B 22 A-B C D 26 A D 30 B E 32 D 26 C-D C D 26 B E 32 C E 32 E 31 D-E D E 31 A F D B E C * * * * *

Nearest Total Minimum Solved Unsolved Distance Nearest DistancePath A C 20 C 20 A-C A B 22 B 22 A-B C D 26 A D 30 B E 32 D 26 C-D C D 26 B E 32 C E 32 E 31 D-E D E 31 B D E A F D B E C * * * * *

Nearest Total Minimum Solved Unsolved Distance Nearest DistancePath A C 20 C 20 A-C A B 22 B 22 A-B C D 26 A D 30 B E 32 D 26 C-D C D 26 B E 32 C E 32 E 31 D-E D E 31 B F 49 D F 44 E F 47 A F D B E C * * * * *

Nearest Total Minimum Solved Unsolved Distance Nearest DistancePath A C 20 C 20 A-C A B 22 B 22 A-B C D 26 A D 30 B E 32 D 26 C-D C D 26 B E 32 C E 32 E 31 D-E D E 31 B F 49 D F 44 F 44 D-F E F 47 A F D B E C * * * * * *

Trace Shortest Path Backwards Nearest Total Minimum Solved Unsolved Distance Nearest DistancePath A C 20 C 20 A-C A B 22 B 22 A-B C D 26 A D 30 B E 32 D 26 C-D C D 26 B E 32 C E 32 E 31 D-E D E 31 B F 49 D F 44 F 44 D-F E F 47 A-C-D-F

Check Answer A F D B E C A-C-D-F Length = = 44

Shortest Path Example 2 Find the shortest path from A to K. A K H E B C D G J F I

A K H E B C D G J F I Nearest Total Minimum Solved Unsolved Distance Nearest DistancePath A C 4 C 4 A-C 0

A K H E B C D G J F I Nearest Total Minimum Solved Unsolved Distance Nearest DistancePath A C 4 C 4 A-C A C 0 4

A K H E B C D G J F I Nearest Total Minimum Solved Unsolved Distance Nearest DistancePath A C 4 C 4 A-C A B 6 B 6 A-B C E

A K H E B C D G J F I Nearest Total Minimum Solved Unsolved Distance Nearest DistancePath A C 4 C 4 A-C A B 6 B 6 A-B C E 8 B C 0 4 6

A K H E B C D G J F I Nearest Total Minimum Solved Unsolved Distance Nearest DistancePath A C 4 C 4 A-C A B 6 B 6 A-B C E 8 B E 9 C E 8 E 8 C-E

A K H E B C D G J F I Nearest Total Minimum Solved Unsolved Distance Nearest DistancePath A C 4 C 4 A-C A B 6 B 6 A-B C E 8 B E 9 C E 8 E 8 C-E B C E

A K H E B C D G J F I Nearest Total Minimum Solved Unsolved Distance Nearest DistancePath A C 4 C 4 A-C A B 6 B 6 A-B C E 8 B E 9 C E 8 E 8 C-E B D 15 C F 10 E H 9 H 9 E-H

A K H E B C D G J F I Nearest Total Minimum Solved Unsolved Distance Nearest DistancePath B C E H

A K H E B C D G J F I Nearest Total Minimum Solved Unsolved Distance Nearest DistancePath B D 15 C F 10 F 10 C-F E I 14 H D

A K H E B C D G J F I Nearest Total Minimum Solved Unsolved Distance Nearest DistancePath B D 15 C F 10 F 10 C-F E I 14 H D 12 B C E H F

A K H E B C D G J F I Nearest Total Minimum Solved Unsolved Distance Nearest DistancePath B D 15 C F 10 F 10 C-F E I 14 H D 12 B D 15 C I 15 E I 14 H D 12 D 12 H-D F I

A K H E B C D G J F I Nearest Total Minimum Solved Unsolved Distance Nearest DistancePath C E H F D

A K H E B C D G J F I Nearest Total Minimum Solved Unsolved Distance Nearest DistancePath C I 15 E I 14 H K 14 K 14 H-K F I 14 D J Shortest Length = 14

Trace Shortest Path Backwards Nearest Total Minimum Solved Unsolved Distance Nearest DistancePath B D 15 C F 10 F 10 C-F E I 14 H D 12 B D 15 C I 15 E I 14 H D 12 D 12 H-D F I 14 C I 15 E I 14 H K 14 K 14 H-K F I 14 D J 15

Trace Shortest Path Backwards Nearest Total Minimum Solved Unsolved Distance Nearest DistancePath A C 4 C 4 A-C A B 6 B 6 A-B C E 8 B E 9 C E 8 E 8 C-E B D 15 C F 10 E H 9 H 9 E-H A-C-E-H-K

Check Answer A-C-E-H-K Length = = 14 A K H E B C D G J F I

Shortest Path Example 3 Find the shortest path from A to K. A K H E B C D G J F I

A K H E B C D G J F I Nearest Total Minimum Solved Unsolved Distance Nearest DistancePath A C 4 C 4 A-C A B 6 B 6 A-B C E 8 B E 9 C E 8 E 8 C-E First 3 steps are same as Example 2!

A K H E B C D G J F I Nearest Total Minimum Solved Unsolved Distance Nearest DistancePath A C 4 C 4 A-C A B 6 B 6 A-B C E 8 B E 9 C E 8 E 8 C-E B C E

A K H E B C D G J F I Nearest Total Minimum Solved Unsolved Distance Nearest DistancePath A C 4 C 4 A-C A B 6 B 6 A-B C E 8 B E 9 C E 8 E 8 C-E B D 13 C I 14 E H Tie for minimum distance Select both!

A K H E B C D G J F I Nearest Total Minimum Solved Unsolved Distance Nearest DistancePath A C 4 C 4 A-C A B 6 B 6 A-B C E 8 B E 9 C E 8 E 8 C-E B D 13 D 13 B-D C I 14 E H 13 H 13 E-H

A K H E B C D G J F I Nearest Total Minimum Solved Unsolved Distance Nearest DistancePath C D E H

A K H E B C D G J F I Nearest Total Minimum Solved Unsolved Distance Nearest DistancePath C I 14 D G 29 E I 14 H K Tie for minimum distance Select both!

A K H E B C D G J F I Nearest Total Minimum Solved Unsolved Distance Nearest DistancePath C I 14 I 14 C-I D G 29 E I 14 I 14 E-I H K There are two equal shortest paths from the origin to I!

Example 3 Answer A-C-E-I-F-J-K A-C-I-F-J-K Length = = 24 Length = = 24 A K H E B C D G J F I

Shortest Path Software in LogWare ROUTE module. For each node, enter: –Node number and name. –X and Y coordinates if desired. For each link (arc), enter: –“From node” number. –“To node” number. –Cost. –Save data. Click Solve to get shortest paths from node 1 to all other nodes.

LogWare

ROUTE Module in LogWare Otherwise, click “Open file” and open Rfl01.dat. If possible, click “Add row”; then enter data.

ROUTE Module: Edit as desired Now, Delete and Add rows and edit data. Save before solving.

ROUTE Module: Solution

Transportation Problem Given: –m origins (sources for product flows). –n destinations (sinks for product flows). –Supply at each origin. –Demand at each destination. –Shipping cost per unit of product from each origin to each destination. Determine the minimum total cost shipping pattern to satisfy demand. –We will solve using TRANLP module of LogWare.

Transportation Problem Example 3 origins (sources) and 4 destinations (sinks) Origin SupplyDestination Demand cwt cwt cwt cwt cwt cwt cwt. Shipping cost ($/cwt): D1D2D3D4 O O O3 2515

Transportation Problem Example 3 origins (sources) and 4 destinations (sinks) 300 O1 D4 600 D3 700 D2 300 D O3 900 O2

Transportation Problem Example A feasible solution: flows are in blue. 300 O1 D4 600 D3 700 D2 300 D O3 900 O Cost = 300x3+100x2+300x4+500x3+200x5+600x5 = 7500

Solving Transportation Problems Place data in Transportation Matrix. From/To T1 T2T3T4Supply F F F Demand Enter data into TRANLP and solve. 1.Open a file. 2. Change Problem label and specify number of rows and columns. 3. Enter data (use Backspace to erase entries). 4. Save data. 5. Click Solve.

TRANLP in LogWare If possible, enter “No. of rows” and “No. of columns”. If not, then click “Open file” and open TRAN01.dat.

File TRAN01.dat Now, enter “No. of rows” and “No. of columns”. Then, edit data. Save before solving.

TRAN01.dat Solution Solution. Click “Report” for more...

TRANLP Output Problem label: Example OPTIMUM SUPPLY SCHEDULE Cell Unit Cell Units Source name Sink name cost cost allocated F1 T F1 T F1 T F1 T Totals Source capacity = 300 Slack capacity = 0 F2 T F2 T , F2 T F2 T , Totals 3, Source capacity = 900 Slack capacity = 0 F3 T F3 T F3 T F3 T Totals 1, Source capacity = 800 Slack capacity = 0 Total allocated = 2,000 Slack required = 2,000 Total cost = 5,200.00

TRANLP Output Problem label: Example OPTIMUM SUPPLY SCHEDULE Cell Unit Cell Units Source name Sink name cost cost allocated F1 T F1 T F1 T F1 T Totals Source capacity = 300 Slack capacity = 0 F2 T F2 T , F2 T F2 T , Totals 3, Source capacity = 900 Slack capacity = 0 F3 T F3 T F3 T F3 T Totals 1, Source capacity = 800 Slack capacity = 0 Total allocated = 2,000 Slack required = 2,000 Total cost = 5, Optimal Cost Optimal flows

Optimal Solution Optimal solution: flows are in blue. 300 O1 D4 600 D3 700 D2 300 D O3 900 O Cost = 300x2+400x2+300x4+200x7+700x1+100x5 = 5200

TRANLP Output Problem label: Example OPTIMUM SUPPLY SCHEDULE Cell Unit Cell Units Source name Sink name cost cost allocated F1 T F1 T F1 T F1 T Totals Source capacity = 300 Slack capacity = 0 F2 T F2 T , F2 T F2 T , Totals 3, Source capacity = 900 Slack capacity = 0 F3 T F3 T F3 T F3 T Totals 1, Source capacity = 800 Slack capacity = 0 Total allocated = 2,000 Slack required = 2,000 Total cost = 5, slack capacity=0 means all is sent from every source Total allocated = Slack required means each destination receives what it needs.

Transportation Problem In last problem total supply = total demand. –Each origin sends all it has. –Each destination receives all it demands. Other possibilities: –Total Supply > Total Demand Some origins will keep some of the supply. –Total Supply < Total Demand Some destinations will not receive all they demand.

TRANLP Output #2 Problem label: Example OPTIMUM SUPPLY SCHEDULE Cell Unit Cell Units Source name Sink name cost cost allocated F1 T F1 T F1 T F1 T Totals Source capacity = 300 Slack capacity = 0 F2 T F2 T , F2 T F2 T Totals 2, Source capacity = 900 Slack capacity = 200 F3 T F3 T F3 T F3 T Totals 1, Source capacity = 800 Slack capacity = 0 Total allocated = 1,800 Slack required = 1,800 Total cost = 3, What is happening here?

TRANLP Output #2 Problem label: Example OPTIMUM SUPPLY SCHEDULE Cell Unit Cell Units Source name Sink name cost cost allocated F1 T F1 T F1 T F1 T Totals Source capacity = 300 Slack capacity = 0 F2 T F2 T , F2 T F2 T Totals 2, Source capacity = 900 Slack capacity = 200 F3 T F3 T F3 T F3 T Totals 1, Source capacity = 800 Slack capacity = 0 Total allocated = 1,800 Slack required = 1,800 Total cost = 3, Total allocated = Slack required means each destination receives what it needs. Supply > Demand slack capacity=200 means 200 is left at origin 2

TRANLP Output #3 Problem label: Example OPTIMUM SUPPLY SCHEDULE Cell Unit Cell Units Source name Sink name cost cost allocated F1 T F1 T F1 T F1 T Totals Source capacity = 300 Slack capacity = 0 F2 T F2 T , F2 T F2 T , Totals 3, Source capacity = 900 Slack capacity = 0 F3 T F3 T F3 T F3 T Totals 1, Source capacity = 800 Slack capacity = 0 Total allocated = 2,000 Slack required = 2,200 Total cost = 5, What is happening here?

TRANLP Output #3 Problem label: Example OPTIMUM SUPPLY SCHEDULE Cell Unit Cell Units Source name Sink name cost cost allocated F1 T F1 T F1 T F1 T Totals Source capacity = 300 Slack capacity = 0 F2 T F2 T , F2 T F2 T , Totals 3, Source capacity = 900 Slack capacity = 0 F3 T F3 T F3 T F3 T Totals 1, Source capacity = 800 Slack capacity = 0 Total allocated = 2,000 Slack required = 2,200 Total cost = 5, Total allocated < Slack required means some destination(s) did not receive what they need. Can not tell which one(s) without input data. Supply < Demand