Download presentation

Presentation is loading. Please wait.

Published byKristopher Gooch Modified over 4 years ago

1
1 1 Slides by John Loucks St. Edwards University Modifications by A. Asef-Vaziri

2
2 2 Shortest-Route Problem n The shortest-route problem is concerned with finding the shortest path in a network from one node (or set of nodes) to another node (or set of nodes). n If all arcs in the network have nonnegative values then a labeling algorithm can be used to find the shortest paths from a particular node to all other nodes in the network. n The criterion to be minimized in the shortest-route problem is not limited to distance even though the term "shortest" is used in describing the procedure. Other criteria include time and cost. (Neither time nor cost are necessarily linearly related to distance.)

3
3 3 n Linear Programming Formulation Using the notation: Using the notation: x ij = 1 if the arc from node i to node j x ij = 1 if the arc from node i to node j is on the shortest route is on the shortest route 0 otherwise 0 otherwise c ij = distance, time, or cost associated c ij = distance, time, or cost associated with the arc from node i to node j with the arc from node i to node j continued Shortest-Route Problem

4
4 4 n Linear Programming Formulation (continued) Shortest-Route Problem

5
5 5 Susan Winslow has an important business meeting Susan Winslow has an important business meeting in Paducah this evening. She has a number of alternate routes by which she can travel from the company headquarters in Lewisburg to Paducah. The network of alternate routes and their respective travel time, ticket cost, and transport mode appear on the next two slides. If Susan earns a wage of $15 per hour, what route If Susan earns a wage of $15 per hour, what route should she take to minimize the total travel cost? Example: Shortest Route

6
6 6 6 A B C D E F G H I J K L M Paducah Lewisburg 1 2 5 3 4 n Network Representation

7
7 7 Example: Shortest Route Transport Time Time Ticket Total Transport Time Time Ticket Total Route Mode (hours) Cost Cost Cost 1-2Train 4 $60 $ 20 $ 80 1-2Train 4 $60 $ 20 $ 80 1-3 Bus 2 $30 $ 10 $ 40 1-3 Bus 2 $30 $ 10 $ 40 1-4Train 3 $50 $ 30 $ 80 1-4Train 3 $50 $ 30 $ 80 1-5 Plane 1 $15 $115 $130 1-5 Plane 1 $15 $115 $130 1-6 Taxi 6 $90 $ 90 $180 1-6 Taxi 6 $90 $ 90 $180 2-5Bus 3 $45 $ 15 $ 60 2-5Bus 3 $45 $ 15 $ 60 2-6Taxi 3 $50 $ 50 $100 2-6Taxi 3 $50 $ 50 $100 3-4Taxi 1 $15 $ 15 $ 30 3-4Taxi 1 $15 $ 15 $ 30 3-5Bus 4 $70 $ 20 $ 90 3-5Bus 4 $70 $ 20 $ 90 3-6Bus 6 $95 $ 25 $120 3-6Bus 6 $95 $ 25 $120 4-5 Train 2 $35 $ 15 $ 50 4-5 Train 2 $35 $ 15 $ 50 4-6 Bus 4 $70 $ 20 $ 90 4-6 Bus 4 $70 $ 20 $ 90 5-6Train 1 $20 $ 10 $ 30 5-6Train 1 $20 $ 10 $ 30

8
8 8 Example: Shortest Route n LP Formulation Objective Function Objective Function Min 80 x 12 + 40 x 13 + 80 x 14 + 130 x 15 + 180 x 16 + 60 x 25 Min 80 x 12 + 40 x 13 + 80 x 14 + 130 x 15 + 180 x 16 + 60 x 25 + 100 x 26 + 30 x 34 + 90 x 35 + 120 x 36 + 30 x 43 + 50 x 45 + 100 x 26 + 30 x 34 + 90 x 35 + 120 x 36 + 30 x 43 + 50 x 45 + 90 x 46 + 60 x 52 + 90 x 53 + 50 x 54 + 30 x 56 + 90 x 46 + 60 x 52 + 90 x 53 + 50 x 54 + 30 x 56 Node Flow-Conservation Constraints Node Flow-Conservation Constraints x 12 + x 13 + x 14 + x 15 + x 16 = 1 (origin) x 12 + x 13 + x 14 + x 15 + x 16 = 1 (origin) – x 12 + x 25 + x 26 – x 52 = 0 (node 2) – x 12 + x 25 + x 26 – x 52 = 0 (node 2) – x 13 + x 34 + x 35 + x 36 – x 43 – x 53 = 0 (node 3) – x 13 + x 34 + x 35 + x 36 – x 43 – x 53 = 0 (node 3) – x 14 – x 34 + x 43 + x 45 + x 46 – x 54 = 0 (node 4) – x 14 – x 34 + x 43 + x 45 + x 46 – x 54 = 0 (node 4) – x 15 – x 25 – x 35 – x 45 + x 52 + x 53 + x 54 + x 56 = 0 (node 5) – x 15 – x 25 – x 35 – x 45 + x 52 + x 53 + x 54 + x 56 = 0 (node 5) x 16 + x 26 + x 36 + x 46 + x 56 = 1 (destination) x 16 + x 26 + x 36 + x 46 + x 56 = 1 (destination)

9
9 9 Excel Solution

Similar presentations

Presentation is loading. Please wait....

OK

Least Common Multiples and Greatest Common Factors

Least Common Multiples and Greatest Common Factors

© 2018 SlidePlayer.com Inc.

All rights reserved.

To ensure the functioning of the site, we use **cookies**. We share information about your activities on the site with our partners and Google partners: social networks and companies engaged in advertising and web analytics. For more information, see the Privacy Policy and Google Privacy & Terms.
Your consent to our cookies if you continue to use this website.

Ads by Google

Ppt on security features of atm machine Ppt on quality assurance in higher education Ppt on computer virus symptoms Ppt on heredity and evolution class 10 Ppt on bluetooth architecture overview Ppt on pin diode phase Ppt on computer science and technology Ppt on job rotation articles Ppt on porter's five forces example Ppt on etiquette and manners in office