Presentation is loading. Please wait.

Presentation is loading. Please wait.

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

Similar presentations


Presentation on theme: "Chapter 7: Transportation Models Skip Ship Routing & Scheduling (pp. 212-214) Service Selection Shortest Path Transportation Problem Vehicle Routing &"— Presentation transcript:

1 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

2 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.

3 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.

4 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

5 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)

6 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

7 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.

8 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.

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

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

11 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 * *

12 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 * *

13 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 * *

14 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 * *

15 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 * * *

16 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 * * *

17 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 * * *

18 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 * * *

19 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 * * *

20 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 * * * *

21 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 * * * *

22 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 * * * *

23 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 * * * * *

24 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 * * * * *

25 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 * * * * *

26 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 * * * * * *

27 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

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

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

30 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

31 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

32 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

33 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

34 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

35 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

36 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

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

38 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

39 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

40 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

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

42 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

43 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

44 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

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

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

47 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!

48 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

49 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!

50 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

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

52 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!

53 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!

54 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

55 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.

56 LogWare

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

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

59 ROUTE Module: Solution

60 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.

61 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

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

63 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

64 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.

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

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

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

68 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

69 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

70 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

71 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.

72 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.

73 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?

74 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

75 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?

76 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


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

Similar presentations


Ads by Google