03 - OR2 - Network Analysis (Shortest Route Problem, Minimum Cost Flow Problem (Introduction of Network Simplex) ) PDF
03 - OR2 - Network Analysis (Shortest Route Problem, Minimum Cost Flow Problem (Introduction of Network Simplex) ) PDF
NETWORK ANALYSIS
Network Analysis
• Many important optimization problems can be analyzed
by means of graphical or network representation.
• The problem is modeled and solved as network (nodes
can connected by branches)
• There are five network models algorithms:
1- Minimal Spanning Tree
2- Shortest Route Algorithms
3- Maximum Flow Algorithms
4- Minimum Cost Capacitated Network Algorithms
5- Critical Path Method (CPM) Algorithms
1
04/09/2020
Network Analysis
1- Design of an offshore gas pipeline network
connecting wellheads in gulf of Mexico to an inshore
delivery points.; the objective of the model is
minimize the cost constructing the pipeline.
• The situation represented as Minimal Spanning Tree.
Network Analysis
3- determination the maximum capacity (in ton per year) of a
coal slurry pipeline network
• This situation is Maximum Flow Algorithms
2
04/09/2020
Network Analysis
• The minimal
minimal--spanning tree technique
determines a path through a network that
connects all the points while minimizing the
total distance
• The maximal
maximal--flow technique finds the
maximum flow of any quantity or substance
through a network
• The shortest
shortest--route technique can find the
shortest path through a network
5
Shortest-Route Technique
• The shortest
shortest--route technique finds how a person or
item can travel from one location to another while
minimizing the total distance traveled
• It finds the shortest route to a series of destinations
• Ray Design, Inc. transports beds, chairs, and other
furniture from the factory to the warehouse
• They would like to find the route with the shortest
distance
• The road network is shown in Figure 6
3
04/09/2020
Shortest-Route Technique
• Roads from Ray’s plant to warehouse
200
2 4
Plant
1 50 150 6
40
3 5 Warehouse
Figure 6
Shortest-Route Technique
• Steps of the shortest-route technique
1. Find the nearest node to the origin (plant). Put the
distance in a box by the node.
2. Find the next-nearest node to the origin and put the
distance in a box by the node. Several paths may
have to be checked to find the nearest node.
3. Repeat this process until you have gone through the
entire network. The last distance at the ending node
will be the distance of the shortest route.
4
04/09/2020
Shortest-Route Technique
• We can see that the nearest node to the plant is node 2
• We connect these two nodes
• After investigation, we find node 3 is the next nearest node
but there are two possible paths (i.e. 1-2-3 and 1-3-2)
• The shortest path is 1–2–3 with a distance of 150
• We repeat the process and find the next node is node 5 by
going through node 3
• The next nearest node is either 4 or 6 and 6 turns out to be
closer
• The shortest path is 1–2–3–5–6 with a distance of 290 miles
Shortest-Route Technique
• First iteration for Ray Design
100
200
2 4
Plant
1 50 150 6
40
3 5 Warehouse
10
5
04/09/2020
Shortest-Route Technique
• Second iteration for Ray Design
100
200
2 4
Plant
1 50 150 6
40
3 5 Warehouse
150
11
Shortest-Route Technique
• Third iteration for Ray Design
100
200
2 4
Plant
1 50 150 6
40
3 5 Warehouse
150 190
12
6
04/09/2020
Shortest-Route Technique
• Fourth and final iteration for Ray Design
100
200
2 4
Plant
290
1 50 150 6
40
3 5 Warehouse
150 190
13
Shortest-Route Technique
Please watch these videos to study three other
methods that we can use to find the Shortest Route.
• Tree Diagram
• Dijkstra’s Algorithms (most preferable)
• Guess and Check
https://www.youtube.com/watch?v=5lgLJwQXKm4
14
7
04/09/2020
15
80 units F1 W1 60 units
produced needed
DC
70 units W2 90 units
F2
produced needed
16
8
04/09/2020
17
0 value implies
Transshipment Arc Cost
node
[arc capacity]
– Flow on each arc to minimize total costs while
shipping the demand?
18
9
04/09/2020
19
10
04/09/2020
21
22
11
04/09/2020
X(F1,DC) + X(F1,W1) = 80
– For node DC:
• What is going out: X(DC,W1) + X(DC,W2)
• What is coming in: X(F1, DC) + X(F2, DC)
• Node value: 0
24
12
04/09/2020
25
Net Flow
=SUMIF(From,I4,Ship)-SUMIF(To,I4,Ship)
=SUMIF(From,I5,Ship)-SUMIF(To,I5,Ship)
=SUMIF(From,I6,Ship)-SUMIF(To,I6,Ship)
=SUMIF(From,I7,Ship)-SUMIF(To,I7,Ship)
=SUMIF(From,I8,Ship)-SUMIF(To,I8,Ship)
26
13
04/09/2020
27
DC
(30) (50)
(40)
F2 W2
[70] [- 90]
28
14
04/09/2020
Operation of a Intermediate
Vendors Processing facilities
supply network warehouses
29
30
15
04/09/2020
31
32
16