SlideShare a Scribd company logo
Operations
Research I
Lecture (9)
Network Flow
Linear programming
Fall 2022
IENG 202
Overview
A network is an arrangement of paths connected at various points
through which one or more items move from one point to another.
The network is drawn as a diagram providing a picture of the
system thus enabling visual interpretation and enhanced
understanding.
A large number of real-life systems can be modeled as networks
which are relatively easy to construct.
2
Network diagrams consist of nodes and branches.
Nodes (circles), represent junction points, or locations.
Branches (lines), connect nodes and represent flow.
Network Components
distance, time, cost, etc.
Origin
3
 Shortest-Route Algorithm
 Used for determining the shortest time, distance, or
cost from an origin to a destination through a
network.
 Minimum Spanning Tree Algorithm
 Used in determining the minimum distance (cost,
time) needed to connect a set of locations into a
single system.
 Maximal Flow Algorithm
 Used for determining the greatest amount of flow
that can be transmitted through a system in which
various branches, or connections, have specified
flow capacity limitations.
Network Models
4
Problem: Determine the shortest routes from the origin to all destinations.
Shipping Routes from Los Angeles
The Shortest Route Problem
Definition and Example Problem Data (1 of 2)
5
Network of Shipping Routes
The Shortest Route Problem
Definition and Example Problem Data (2 of 2)
6
Network with Node 1 in the Permanent Set
The Shortest Route Problem
Solution Approach
Determine the initial shortest route from the origin (node 1) to the closest node (3).
7
Network with Nodes 1 and 3 in the Permanent Set
The Shortest Route Problem
Solution Approach
Determine all nodes directly connected to the permanent set.
8
Network with Nodes 1, 2, and 3 in the Permanent Set
Redefine the permanent set.
The Shortest Route Problem
Solution Approach
9
Network with Nodes 1, 2, 3, and 4 in the Permanent Set
The Shortest Route Problem
Solution Approach
10
The Shortest Route Problem
Solution Approach
Network with Nodes 1, 2, 3, 4, and 6 in the Permanent Set
11
The Shortest Route Problem
Solution Approach
Network with Nodes 1, 2, 3, 4, 5, and 6 in the Permanent Set
Continue
12
The Shortest Route Problem
Solution Approach
Network with Optimal Routes from Los Angeles to All Destinations
Optimal Solution
13
The Shortest Route Problem
Solution Method Summary
Select the node with the shortest direct route from the origin.
Establish a permanent set with the origin node and the node that was
selected in step 1.
Determine all nodes directly connected to the permanent set nodes.
Select the node with the shortest route (branch) from the group of nodes
directly connected to the permanent set nodes.
Repeat steps 3 and 4 until all nodes have joined the permanent set.
14
The Shortest Route Problem
Example Problem
15
The Shortest Route Problem
Example Problem
16
Permanent Set Path Distance
{ O } O – A 2
O – B 5
O - C 4
The Shortest Route Problem
Example Problem
17
Permanent Set Path Distance
{ O, A } O – B 5
O – C 4
A – B 4
A - D 9
The Shortest Route Problem
Example Problem
18
Permanent Set Path Distance
{ O, A, C } O – B 5
A – B 4
A – D 9
C – B 5
C - E 8
The Shortest Route Problem
Example Problem
19
Permanent Set Path Distance
{ O, A, B, C } A – D 9
C – E 8
B – D 8
B - E 7
The Shortest Route Problem
Example Problem
20
Permanent Set Path Distance
{ O, A, B, C, E } A – D 9
B – D 8
E – D 8
E – T 14
The Shortest Route Problem
Example Problem
21
Permanent Set Path Distance
{ O, A, B, C, E } D – T 13
E - T 14
The Shortest Route Problem
Example Problem
22
Optimal Path Distance
O – A 2
O – C 4
O – A – B 4
O – A – B – E 7
O – A – B – D 8
O – A – B – D – T 13
The Shortest Route Problem
Example Problem
23
 A tree is a set of connected arcs that does not form a
cycle.
 A spanning tree is a tree that connects all nodes of a
network.
 The minimal spanning tree problem seeks to determine
the minimum sum of arc lengths necessary to connect
all nodes in a network.
 The criterion to be minimized in the minimal spanning
tree problem is not limited to distance. Other criteria
include time and cost.
The Minimal Spanning Tree Problem
24
Required: Connect all nodes at minimum cost.
1
3
2
The Minimal Spanning Tree Problem
25
Required: Connect all nodes at minimum cost.
Cost is sum of edge weights
1
2
3
2
1
3
The Minimal Spanning Tree Problem
26
Required: Connect all nodes at minimum cost.
Cost is sum of edge weights
1
2
3
2
1
3
S.T. = 3 S.T. = 5 S.T. = 4
The Minimal Spanning Tree Problem
27
Required: Connect all nodes at minimum cost.
Cost is sum of edge weights
1
3
2
1
3
2
1
3
2
M.S.T. = 3 S.T. = 5 S.T. = 4
The Minimal Spanning Tree Problem
28
Network of Possible Cable TV Paths
The Minimal Spanning Tree Problem
Example Problem
Problem: Connect all nodes in a network so that the total branch lengths are
minimized.
29
The Minimal Spanning Tree Problem
Solution Approach (1 of 6)
Spanning Tree with Nodes 1 and 3
Start with any node in the network and select the closest node to join the spanning
tree.
30
The Minimal Spanning Tree Problem
Solution Approach (2 of 6)
Spanning Tree with Nodes 1, 3, and 4
Select the closest node not presently in the spanning area (not to create a cycle).
31
The Minimal Spanning Tree Problem
Solution Approach (3 of 6)
Spanning Tree with Nodes 1, 2, 3, and 4
Continue
32
The Minimal Spanning Tree Problem
Solution Approach (4 of 6)
Spanning Tree with Nodes 1, 2, 3, 4, and 5
Continue
33
The Minimal Spanning Tree Problem
Solution Approach (5 of 6)
Spanning Tree with Nodes 1, 2, 3, 4, 5, and 7
Continue
34
The Minimal Spanning Tree Problem
Solution Approach (6 of 6)
Minimal Spanning Tree for Cable TV Network
Optimal Solution
35
The Minimal Spanning Tree Problem
Solution Method Summary
Select any starting node (conventionally, node 1).
Select the node closest to the starting node to join the spanning tree (not to
create a cycle).
Select the closest node not presently in the spanning tree.
Repeat step 3 until all nodes have joined the spanning tree.
36
4
2 7
5
18
6
9 3
15
14
19
8
10
12
20
9
17
11
13
21
24
The Minimal Spanning Tree Problem-2
37
4
2 7
5
18
6
9 3
15
14
19
8
10
12
9
17
11
13
Start
20
21
24
The Minimal Spanning Tree Problem-2
38
4
2 7
5
18
6
9 3
15
14
19
8
10
12
9
17
11
13
20
21
24
The Minimal Spanning Tree Problem-2
39
4
2 7
5
18
6
9 3
15
14
19
8
10
12
9
17
11
13
20
21
24
The Minimal Spanning Tree Problem-2
40
4
2 7
5
18
6
9 3
15
14
19
8
10
12
9
17
11
13
20
21
24
The Minimal Spanning Tree Problem-2
41
4
2 7
5
18
6
9 3
15
14
19
8
10
12
9
17
11
13
20
21
24
The Minimal Spanning Tree Problem-2
42
4
2 7
5
18
6
9 3
15
14
19
8
10
12
9
17
11
13
20
21
24
The Minimal Spanning Tree Problem-2
43
4
2 7
5
18
6
9 3
15
14
19
8
10
12
9
17
11
13
20
21
24
The Minimal Spanning Tree Problem-2
44
4
2 7
5
18
6
9 3
15
14
19
8
10
12
9
17
11
13
20
21
24
NO!
The Minimal Spanning Tree Problem-2
45
4
2 7
5
18
6
9 3
15
14
19
8
10
12
9
17
11
13
20
21
24
LOOP
The Minimal Spanning Tree Problem-2
46
4
2 7
5
18
6
9 3
15
14
19
8
10
12
9
17
11
13
20
21
24
The Minimal Spanning Tree Problem-2
47
4
2 7
5
18
6
9 3
15
14
19
8
10
12
9
17
11
13
20
21
24
The Minimal Spanning Tree Problem-2
48
4
2 7
5
18
6
9 3
15
14
19
8
10
12
9
17
11
13
20
21
24
The Minimal Spanning Tree Problem-2
49
4
2 7
5
18
6
9 3
15
14
19
8
10
12
9
17
11
13
20
21
24
The Minimal Spanning Tree Problem-2
50
Example Problem Statement and Data
1. Determine the shortest route from Atlanta (node 1) to each of the
other five nodes (branches show travel time between nodes).
2. Assume branches show distance (instead of travel time) between
nodes, develop a minimal spanning tree.
51
Step 1 (part A): Determine the Shortest Route Solution
1. Permanent Set Branch Time
{1} 1-2 [5]
1-3 5
1-4 7
2. {1,2} 1-3 [5]
1-4 7
2-5 11
3. {1,2,3} 1-4 [7]
2-5 11
3-4 7
4. {1,2,3,4} 4-5 10
4-6 [9]
5. {1,2,3,4,6} 4-5 [10]
6-5 13
6. {1,2,3,4,5,6}
Example Problem, Shortest Route Solution (1 of 2)
52
Example Problem, Shortest Route Solution (2 of 2)
53
Example Problem, Minimal Spanning Tree (1 of 2)
1. The closest unconnected node to node 1 is node 2.
2. The closest to 1 and 2 is node 3.
3. The closest to 1, 2, and 3 is node 4.
4. The closest to 1, 2, 3, and 4 is node 6.
5. The closest to 1, 2, 3, 4 and 6 is 5.
6. The shortest total distance is 17 miles.
54
Example Problem, Minimal Spanning Tree (2 of 2)
55
Thanks for
Attention

More Related Content

Similar to Network flow

Minimum Complexity Decoupling Networks for Arbitrary Coupled Loads
Minimum Complexity Decoupling Networks for Arbitrary Coupled LoadsMinimum Complexity Decoupling Networks for Arbitrary Coupled Loads
Minimum Complexity Decoupling Networks for Arbitrary Coupled Loads
Ding Nie
 
Minimum spanning tree
Minimum spanning treeMinimum spanning tree
Minimum spanning tree
Hinal Lunagariya
 
Y11 m02 networks
Y11 m02  networksY11 m02  networks
Y11 m02 networks
Xu Wei
 
Decision Maths 1 Chapter 3 Algorithms on Graphs (including Floyd A2 content)....
Decision Maths 1 Chapter 3 Algorithms on Graphs (including Floyd A2 content)....Decision Maths 1 Chapter 3 Algorithms on Graphs (including Floyd A2 content)....
Decision Maths 1 Chapter 3 Algorithms on Graphs (including Floyd A2 content)....
SintooChauhan6
 
minimum spanning tree
minimum spanning tree minimum spanning tree
minimum spanning tree
Melaku Bayih Demessie
 
Branch and bounding : Data structures
Branch and bounding : Data structuresBranch and bounding : Data structures
Branch and bounding : Data structures
Kàŕtheek Jåvvàjí
 
EVALUATION OF RADIATED EMISSIONS FROM PCB AND CABLES AT POST-LAYOUT LEVEL
EVALUATION OF RADIATED EMISSIONS FROM PCB AND CABLES AT POST-LAYOUT LEVELEVALUATION OF RADIATED EMISSIONS FROM PCB AND CABLES AT POST-LAYOUT LEVEL
EVALUATION OF RADIATED EMISSIONS FROM PCB AND CABLES AT POST-LAYOUT LEVEL
Piero Belforte
 
Efectos de nodos ieee 802.15.4 zig bee
Efectos de nodos ieee 802.15.4 zig beeEfectos de nodos ieee 802.15.4 zig bee
Efectos de nodos ieee 802.15.4 zig bee
Gregorio Toro Rivera
 
352735336 rsh-qam11-tif-11-doc
352735336 rsh-qam11-tif-11-doc352735336 rsh-qam11-tif-11-doc
352735336 rsh-qam11-tif-11-doc
Firas Husseini
 
352735336 rsh-qam11-tif-11-doc
352735336 rsh-qam11-tif-11-doc352735336 rsh-qam11-tif-11-doc
352735336 rsh-qam11-tif-11-doc
BookStoreLib
 
Design of Quaternary Logical Circuit Using Voltage and Current Mode Logic
Design of Quaternary Logical Circuit Using Voltage and Current Mode LogicDesign of Quaternary Logical Circuit Using Voltage and Current Mode Logic
Design of Quaternary Logical Circuit Using Voltage and Current Mode Logic
VLSICS Design
 
MSc Thesis Presentation
MSc Thesis PresentationMSc Thesis Presentation
MSc Thesis Presentation
Reem Sherif
 
Chp12networksmodel 121128084640-phpapp01
Chp12networksmodel 121128084640-phpapp01Chp12networksmodel 121128084640-phpapp01
Chp12networksmodel 121128084640-phpapp01
Firas Husseini
 
Ram minimum spanning tree
Ram   minimum spanning treeRam   minimum spanning tree
Ram minimum spanning tree
Rama Prasath A
 
Clock mesh sizing slides
Clock mesh sizing slidesClock mesh sizing slides
Clock mesh sizing slides
Rajesh M
 
Vlsiphysicaldesignautomationonpartitioning 120219012744-phpapp01
Vlsiphysicaldesignautomationonpartitioning 120219012744-phpapp01Vlsiphysicaldesignautomationonpartitioning 120219012744-phpapp01
Vlsiphysicaldesignautomationonpartitioning 120219012744-phpapp01
Hemant Jha
 
Prim's Algorithm for Optimizing Fiber Optic Trajectory Planning
Prim's Algorithm for Optimizing Fiber Optic Trajectory PlanningPrim's Algorithm for Optimizing Fiber Optic Trajectory Planning
Prim's Algorithm for Optimizing Fiber Optic Trajectory Planning
Universitas Pembangunan Panca Budi
 
Mncs 16-08-3주-변승규-opportunistic flooding in low-duty-cycle wireless sensor ne...
Mncs 16-08-3주-변승규-opportunistic flooding in low-duty-cycle wireless sensor ne...Mncs 16-08-3주-변승규-opportunistic flooding in low-duty-cycle wireless sensor ne...
Mncs 16-08-3주-변승규-opportunistic flooding in low-duty-cycle wireless sensor ne...
Seung-gyu Byeon
 
Kruskal & Prim's Algorithm
Kruskal & Prim's AlgorithmKruskal & Prim's Algorithm
Kruskal & Prim's Algorithm
Ifad Rahman
 
Least cost rumor blocking in social networks
Least cost rumor blocking in social networksLeast cost rumor blocking in social networks
Least cost rumor blocking in social networks
Ping Yabin
 

Similar to Network flow (20)

Minimum Complexity Decoupling Networks for Arbitrary Coupled Loads
Minimum Complexity Decoupling Networks for Arbitrary Coupled LoadsMinimum Complexity Decoupling Networks for Arbitrary Coupled Loads
Minimum Complexity Decoupling Networks for Arbitrary Coupled Loads
 
Minimum spanning tree
Minimum spanning treeMinimum spanning tree
Minimum spanning tree
 
Y11 m02 networks
Y11 m02  networksY11 m02  networks
Y11 m02 networks
 
Decision Maths 1 Chapter 3 Algorithms on Graphs (including Floyd A2 content)....
Decision Maths 1 Chapter 3 Algorithms on Graphs (including Floyd A2 content)....Decision Maths 1 Chapter 3 Algorithms on Graphs (including Floyd A2 content)....
Decision Maths 1 Chapter 3 Algorithms on Graphs (including Floyd A2 content)....
 
minimum spanning tree
minimum spanning tree minimum spanning tree
minimum spanning tree
 
Branch and bounding : Data structures
Branch and bounding : Data structuresBranch and bounding : Data structures
Branch and bounding : Data structures
 
EVALUATION OF RADIATED EMISSIONS FROM PCB AND CABLES AT POST-LAYOUT LEVEL
EVALUATION OF RADIATED EMISSIONS FROM PCB AND CABLES AT POST-LAYOUT LEVELEVALUATION OF RADIATED EMISSIONS FROM PCB AND CABLES AT POST-LAYOUT LEVEL
EVALUATION OF RADIATED EMISSIONS FROM PCB AND CABLES AT POST-LAYOUT LEVEL
 
Efectos de nodos ieee 802.15.4 zig bee
Efectos de nodos ieee 802.15.4 zig beeEfectos de nodos ieee 802.15.4 zig bee
Efectos de nodos ieee 802.15.4 zig bee
 
352735336 rsh-qam11-tif-11-doc
352735336 rsh-qam11-tif-11-doc352735336 rsh-qam11-tif-11-doc
352735336 rsh-qam11-tif-11-doc
 
352735336 rsh-qam11-tif-11-doc
352735336 rsh-qam11-tif-11-doc352735336 rsh-qam11-tif-11-doc
352735336 rsh-qam11-tif-11-doc
 
Design of Quaternary Logical Circuit Using Voltage and Current Mode Logic
Design of Quaternary Logical Circuit Using Voltage and Current Mode LogicDesign of Quaternary Logical Circuit Using Voltage and Current Mode Logic
Design of Quaternary Logical Circuit Using Voltage and Current Mode Logic
 
MSc Thesis Presentation
MSc Thesis PresentationMSc Thesis Presentation
MSc Thesis Presentation
 
Chp12networksmodel 121128084640-phpapp01
Chp12networksmodel 121128084640-phpapp01Chp12networksmodel 121128084640-phpapp01
Chp12networksmodel 121128084640-phpapp01
 
Ram minimum spanning tree
Ram   minimum spanning treeRam   minimum spanning tree
Ram minimum spanning tree
 
Clock mesh sizing slides
Clock mesh sizing slidesClock mesh sizing slides
Clock mesh sizing slides
 
Vlsiphysicaldesignautomationonpartitioning 120219012744-phpapp01
Vlsiphysicaldesignautomationonpartitioning 120219012744-phpapp01Vlsiphysicaldesignautomationonpartitioning 120219012744-phpapp01
Vlsiphysicaldesignautomationonpartitioning 120219012744-phpapp01
 
Prim's Algorithm for Optimizing Fiber Optic Trajectory Planning
Prim's Algorithm for Optimizing Fiber Optic Trajectory PlanningPrim's Algorithm for Optimizing Fiber Optic Trajectory Planning
Prim's Algorithm for Optimizing Fiber Optic Trajectory Planning
 
Mncs 16-08-3주-변승규-opportunistic flooding in low-duty-cycle wireless sensor ne...
Mncs 16-08-3주-변승규-opportunistic flooding in low-duty-cycle wireless sensor ne...Mncs 16-08-3주-변승규-opportunistic flooding in low-duty-cycle wireless sensor ne...
Mncs 16-08-3주-변승규-opportunistic flooding in low-duty-cycle wireless sensor ne...
 
Kruskal & Prim's Algorithm
Kruskal & Prim's AlgorithmKruskal & Prim's Algorithm
Kruskal & Prim's Algorithm
 
Least cost rumor blocking in social networks
Least cost rumor blocking in social networksLeast cost rumor blocking in social networks
Least cost rumor blocking in social networks
 

More from Ahmed Sobhi

MAN 547_Reverse Engineering-Hardware and Software.pptx
MAN 547_Reverse Engineering-Hardware and Software.pptxMAN 547_Reverse Engineering-Hardware and Software.pptx
MAN 547_Reverse Engineering-Hardware and Software.pptx
Ahmed Sobhi
 
4288904.pptx
4288904.pptx4288904.pptx
4288904.pptx
Ahmed Sobhi
 
CMM
CMMCMM
Design
DesignDesign
Design
Ahmed Sobhi
 
L01_IENG 202 - ORI - Intro.pptx
L01_IENG 202 - ORI - Intro.pptxL01_IENG 202 - ORI - Intro.pptx
L01_IENG 202 - ORI - Intro.pptx
Ahmed Sobhi
 
MAN 547-Interpolation.pptx
MAN 547-Interpolation.pptxMAN 547-Interpolation.pptx
MAN 547-Interpolation.pptx
Ahmed Sobhi
 
LOGISTIKE.pdf
LOGISTIKE.pdfLOGISTIKE.pdf
LOGISTIKE.pdf
Ahmed Sobhi
 
4handling-part4-171025101141.pdf
4handling-part4-171025101141.pdf4handling-part4-171025101141.pdf
4handling-part4-171025101141.pdf
Ahmed Sobhi
 
camsfollowers-190301142036.pdf
camsfollowers-190301142036.pdfcamsfollowers-190301142036.pdf
camsfollowers-190301142036.pdf
Ahmed Sobhi
 
OR II.ppt
OR II.pptOR II.ppt
OR II.ppt
Ahmed Sobhi
 
2nd lect CADCAM.pptx
2nd lect CADCAM.pptx2nd lect CADCAM.pptx
2nd lect CADCAM.pptx
Ahmed Sobhi
 
7807139.ppt
7807139.ppt7807139.ppt
7807139.ppt
Ahmed Sobhi
 
13675443.ppt
13675443.ppt13675443.ppt
13675443.ppt
Ahmed Sobhi
 
Lect_03 Mechanisms Sp23.pdf
Lect_03 Mechanisms Sp23.pdfLect_03 Mechanisms Sp23.pdf
Lect_03 Mechanisms Sp23.pdf
Ahmed Sobhi
 
6177233.ppt
6177233.ppt6177233.ppt
6177233.ppt
Ahmed Sobhi
 
02_Ch(2)_Work Systems and How They Work.pptx
02_Ch(2)_Work Systems and How They Work.pptx02_Ch(2)_Work Systems and How They Work.pptx
02_Ch(2)_Work Systems and How They Work.pptx
Ahmed Sobhi
 
03.ppt
03.ppt03.ppt
03.ppt
Ahmed Sobhi
 

More from Ahmed Sobhi (17)

MAN 547_Reverse Engineering-Hardware and Software.pptx
MAN 547_Reverse Engineering-Hardware and Software.pptxMAN 547_Reverse Engineering-Hardware and Software.pptx
MAN 547_Reverse Engineering-Hardware and Software.pptx
 
4288904.pptx
4288904.pptx4288904.pptx
4288904.pptx
 
CMM
CMMCMM
CMM
 
Design
DesignDesign
Design
 
L01_IENG 202 - ORI - Intro.pptx
L01_IENG 202 - ORI - Intro.pptxL01_IENG 202 - ORI - Intro.pptx
L01_IENG 202 - ORI - Intro.pptx
 
MAN 547-Interpolation.pptx
MAN 547-Interpolation.pptxMAN 547-Interpolation.pptx
MAN 547-Interpolation.pptx
 
LOGISTIKE.pdf
LOGISTIKE.pdfLOGISTIKE.pdf
LOGISTIKE.pdf
 
4handling-part4-171025101141.pdf
4handling-part4-171025101141.pdf4handling-part4-171025101141.pdf
4handling-part4-171025101141.pdf
 
camsfollowers-190301142036.pdf
camsfollowers-190301142036.pdfcamsfollowers-190301142036.pdf
camsfollowers-190301142036.pdf
 
OR II.ppt
OR II.pptOR II.ppt
OR II.ppt
 
2nd lect CADCAM.pptx
2nd lect CADCAM.pptx2nd lect CADCAM.pptx
2nd lect CADCAM.pptx
 
7807139.ppt
7807139.ppt7807139.ppt
7807139.ppt
 
13675443.ppt
13675443.ppt13675443.ppt
13675443.ppt
 
Lect_03 Mechanisms Sp23.pdf
Lect_03 Mechanisms Sp23.pdfLect_03 Mechanisms Sp23.pdf
Lect_03 Mechanisms Sp23.pdf
 
6177233.ppt
6177233.ppt6177233.ppt
6177233.ppt
 
02_Ch(2)_Work Systems and How They Work.pptx
02_Ch(2)_Work Systems and How They Work.pptx02_Ch(2)_Work Systems and How They Work.pptx
02_Ch(2)_Work Systems and How They Work.pptx
 
03.ppt
03.ppt03.ppt
03.ppt
 

Recently uploaded

原版制作(Humboldt毕业证书)柏林大学毕业证学位证一模一样
原版制作(Humboldt毕业证书)柏林大学毕业证学位证一模一样原版制作(Humboldt毕业证书)柏林大学毕业证学位证一模一样
原版制作(Humboldt毕业证书)柏林大学毕业证学位证一模一样
ydzowc
 
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student MemberIEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
VICTOR MAESTRE RAMIREZ
 
VARIABLE FREQUENCY DRIVE. VFDs are widely used in industrial applications for...
VARIABLE FREQUENCY DRIVE. VFDs are widely used in industrial applications for...VARIABLE FREQUENCY DRIVE. VFDs are widely used in industrial applications for...
VARIABLE FREQUENCY DRIVE. VFDs are widely used in industrial applications for...
PIMR BHOPAL
 
学校原版美国波士顿大学毕业证学历学位证书原版一模一样
学校原版美国波士顿大学毕业证学历学位证书原版一模一样学校原版美国波士顿大学毕业证学历学位证书原版一模一样
学校原版美国波士顿大学毕业证学历学位证书原版一模一样
171ticu
 
An Introduction to the Compiler Designss
An Introduction to the Compiler DesignssAn Introduction to the Compiler Designss
An Introduction to the Compiler Designss
ElakkiaU
 
Digital Twins Computer Networking Paper Presentation.pptx
Digital Twins Computer Networking Paper Presentation.pptxDigital Twins Computer Networking Paper Presentation.pptx
Digital Twins Computer Networking Paper Presentation.pptx
aryanpankaj78
 
132/33KV substation case study Presentation
132/33KV substation case study Presentation132/33KV substation case study Presentation
132/33KV substation case study Presentation
kandramariana6
 
Generative AI Use cases applications solutions and implementation.pdf
Generative AI Use cases applications solutions and implementation.pdfGenerative AI Use cases applications solutions and implementation.pdf
Generative AI Use cases applications solutions and implementation.pdf
mahaffeycheryld
 
CompEx~Manual~1210 (2).pdf COMPEX GAS AND VAPOURS
CompEx~Manual~1210 (2).pdf COMPEX GAS AND VAPOURSCompEx~Manual~1210 (2).pdf COMPEX GAS AND VAPOURS
CompEx~Manual~1210 (2).pdf COMPEX GAS AND VAPOURS
RamonNovais6
 
AI for Legal Research with applications, tools
AI for Legal Research with applications, toolsAI for Legal Research with applications, tools
AI for Legal Research with applications, tools
mahaffeycheryld
 
一比一原版(CalArts毕业证)加利福尼亚艺术学院毕业证如何办理
一比一原版(CalArts毕业证)加利福尼亚艺术学院毕业证如何办理一比一原版(CalArts毕业证)加利福尼亚艺术学院毕业证如何办理
一比一原版(CalArts毕业证)加利福尼亚艺术学院毕业证如何办理
ecqow
 
Null Bangalore | Pentesters Approach to AWS IAM
Null Bangalore | Pentesters Approach to AWS IAMNull Bangalore | Pentesters Approach to AWS IAM
Null Bangalore | Pentesters Approach to AWS IAM
Divyanshu
 
Gas agency management system project report.pdf
Gas agency management system project report.pdfGas agency management system project report.pdf
Gas agency management system project report.pdf
Kamal Acharya
 
Prediction of Electrical Energy Efficiency Using Information on Consumer's Ac...
Prediction of Electrical Energy Efficiency Using Information on Consumer's Ac...Prediction of Electrical Energy Efficiency Using Information on Consumer's Ac...
Prediction of Electrical Energy Efficiency Using Information on Consumer's Ac...
PriyankaKilaniya
 
TIME TABLE MANAGEMENT SYSTEM testing.pptx
TIME TABLE MANAGEMENT SYSTEM testing.pptxTIME TABLE MANAGEMENT SYSTEM testing.pptx
TIME TABLE MANAGEMENT SYSTEM testing.pptx
CVCSOfficial
 
Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024
Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024
Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024
Sinan KOZAK
 
CEC 352 - SATELLITE COMMUNICATION UNIT 1
CEC 352 - SATELLITE COMMUNICATION UNIT 1CEC 352 - SATELLITE COMMUNICATION UNIT 1
CEC 352 - SATELLITE COMMUNICATION UNIT 1
PKavitha10
 
Use PyCharm for remote debugging of WSL on a Windo cf5c162d672e4e58b4dde5d797...
Use PyCharm for remote debugging of WSL on a Windo cf5c162d672e4e58b4dde5d797...Use PyCharm for remote debugging of WSL on a Windo cf5c162d672e4e58b4dde5d797...
Use PyCharm for remote debugging of WSL on a Windo cf5c162d672e4e58b4dde5d797...
shadow0702a
 
ITSM Integration with MuleSoft.pptx
ITSM  Integration with MuleSoft.pptxITSM  Integration with MuleSoft.pptx
ITSM Integration with MuleSoft.pptx
VANDANAMOHANGOUDA
 
一比一原版(爱大毕业证书)爱荷华大学毕业证如何办理
一比一原版(爱大毕业证书)爱荷华大学毕业证如何办理一比一原版(爱大毕业证书)爱荷华大学毕业证如何办理
一比一原版(爱大毕业证书)爱荷华大学毕业证如何办理
nedcocy
 

Recently uploaded (20)

原版制作(Humboldt毕业证书)柏林大学毕业证学位证一模一样
原版制作(Humboldt毕业证书)柏林大学毕业证学位证一模一样原版制作(Humboldt毕业证书)柏林大学毕业证学位证一模一样
原版制作(Humboldt毕业证书)柏林大学毕业证学位证一模一样
 
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student MemberIEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
 
VARIABLE FREQUENCY DRIVE. VFDs are widely used in industrial applications for...
VARIABLE FREQUENCY DRIVE. VFDs are widely used in industrial applications for...VARIABLE FREQUENCY DRIVE. VFDs are widely used in industrial applications for...
VARIABLE FREQUENCY DRIVE. VFDs are widely used in industrial applications for...
 
学校原版美国波士顿大学毕业证学历学位证书原版一模一样
学校原版美国波士顿大学毕业证学历学位证书原版一模一样学校原版美国波士顿大学毕业证学历学位证书原版一模一样
学校原版美国波士顿大学毕业证学历学位证书原版一模一样
 
An Introduction to the Compiler Designss
An Introduction to the Compiler DesignssAn Introduction to the Compiler Designss
An Introduction to the Compiler Designss
 
Digital Twins Computer Networking Paper Presentation.pptx
Digital Twins Computer Networking Paper Presentation.pptxDigital Twins Computer Networking Paper Presentation.pptx
Digital Twins Computer Networking Paper Presentation.pptx
 
132/33KV substation case study Presentation
132/33KV substation case study Presentation132/33KV substation case study Presentation
132/33KV substation case study Presentation
 
Generative AI Use cases applications solutions and implementation.pdf
Generative AI Use cases applications solutions and implementation.pdfGenerative AI Use cases applications solutions and implementation.pdf
Generative AI Use cases applications solutions and implementation.pdf
 
CompEx~Manual~1210 (2).pdf COMPEX GAS AND VAPOURS
CompEx~Manual~1210 (2).pdf COMPEX GAS AND VAPOURSCompEx~Manual~1210 (2).pdf COMPEX GAS AND VAPOURS
CompEx~Manual~1210 (2).pdf COMPEX GAS AND VAPOURS
 
AI for Legal Research with applications, tools
AI for Legal Research with applications, toolsAI for Legal Research with applications, tools
AI for Legal Research with applications, tools
 
一比一原版(CalArts毕业证)加利福尼亚艺术学院毕业证如何办理
一比一原版(CalArts毕业证)加利福尼亚艺术学院毕业证如何办理一比一原版(CalArts毕业证)加利福尼亚艺术学院毕业证如何办理
一比一原版(CalArts毕业证)加利福尼亚艺术学院毕业证如何办理
 
Null Bangalore | Pentesters Approach to AWS IAM
Null Bangalore | Pentesters Approach to AWS IAMNull Bangalore | Pentesters Approach to AWS IAM
Null Bangalore | Pentesters Approach to AWS IAM
 
Gas agency management system project report.pdf
Gas agency management system project report.pdfGas agency management system project report.pdf
Gas agency management system project report.pdf
 
Prediction of Electrical Energy Efficiency Using Information on Consumer's Ac...
Prediction of Electrical Energy Efficiency Using Information on Consumer's Ac...Prediction of Electrical Energy Efficiency Using Information on Consumer's Ac...
Prediction of Electrical Energy Efficiency Using Information on Consumer's Ac...
 
TIME TABLE MANAGEMENT SYSTEM testing.pptx
TIME TABLE MANAGEMENT SYSTEM testing.pptxTIME TABLE MANAGEMENT SYSTEM testing.pptx
TIME TABLE MANAGEMENT SYSTEM testing.pptx
 
Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024
Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024
Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024
 
CEC 352 - SATELLITE COMMUNICATION UNIT 1
CEC 352 - SATELLITE COMMUNICATION UNIT 1CEC 352 - SATELLITE COMMUNICATION UNIT 1
CEC 352 - SATELLITE COMMUNICATION UNIT 1
 
Use PyCharm for remote debugging of WSL on a Windo cf5c162d672e4e58b4dde5d797...
Use PyCharm for remote debugging of WSL on a Windo cf5c162d672e4e58b4dde5d797...Use PyCharm for remote debugging of WSL on a Windo cf5c162d672e4e58b4dde5d797...
Use PyCharm for remote debugging of WSL on a Windo cf5c162d672e4e58b4dde5d797...
 
ITSM Integration with MuleSoft.pptx
ITSM  Integration with MuleSoft.pptxITSM  Integration with MuleSoft.pptx
ITSM Integration with MuleSoft.pptx
 
一比一原版(爱大毕业证书)爱荷华大学毕业证如何办理
一比一原版(爱大毕业证书)爱荷华大学毕业证如何办理一比一原版(爱大毕业证书)爱荷华大学毕业证如何办理
一比一原版(爱大毕业证书)爱荷华大学毕业证如何办理
 

Network flow

  • 1. Operations Research I Lecture (9) Network Flow Linear programming Fall 2022 IENG 202
  • 2. Overview A network is an arrangement of paths connected at various points through which one or more items move from one point to another. The network is drawn as a diagram providing a picture of the system thus enabling visual interpretation and enhanced understanding. A large number of real-life systems can be modeled as networks which are relatively easy to construct. 2
  • 3. Network diagrams consist of nodes and branches. Nodes (circles), represent junction points, or locations. Branches (lines), connect nodes and represent flow. Network Components distance, time, cost, etc. Origin 3
  • 4.  Shortest-Route Algorithm  Used for determining the shortest time, distance, or cost from an origin to a destination through a network.  Minimum Spanning Tree Algorithm  Used in determining the minimum distance (cost, time) needed to connect a set of locations into a single system.  Maximal Flow Algorithm  Used for determining the greatest amount of flow that can be transmitted through a system in which various branches, or connections, have specified flow capacity limitations. Network Models 4
  • 5. Problem: Determine the shortest routes from the origin to all destinations. Shipping Routes from Los Angeles The Shortest Route Problem Definition and Example Problem Data (1 of 2) 5
  • 6. Network of Shipping Routes The Shortest Route Problem Definition and Example Problem Data (2 of 2) 6
  • 7. Network with Node 1 in the Permanent Set The Shortest Route Problem Solution Approach Determine the initial shortest route from the origin (node 1) to the closest node (3). 7
  • 8. Network with Nodes 1 and 3 in the Permanent Set The Shortest Route Problem Solution Approach Determine all nodes directly connected to the permanent set. 8
  • 9. Network with Nodes 1, 2, and 3 in the Permanent Set Redefine the permanent set. The Shortest Route Problem Solution Approach 9
  • 10. Network with Nodes 1, 2, 3, and 4 in the Permanent Set The Shortest Route Problem Solution Approach 10
  • 11. The Shortest Route Problem Solution Approach Network with Nodes 1, 2, 3, 4, and 6 in the Permanent Set 11
  • 12. The Shortest Route Problem Solution Approach Network with Nodes 1, 2, 3, 4, 5, and 6 in the Permanent Set Continue 12
  • 13. The Shortest Route Problem Solution Approach Network with Optimal Routes from Los Angeles to All Destinations Optimal Solution 13
  • 14. The Shortest Route Problem Solution Method Summary Select the node with the shortest direct route from the origin. Establish a permanent set with the origin node and the node that was selected in step 1. Determine all nodes directly connected to the permanent set nodes. Select the node with the shortest route (branch) from the group of nodes directly connected to the permanent set nodes. Repeat steps 3 and 4 until all nodes have joined the permanent set. 14
  • 15. The Shortest Route Problem Example Problem 15
  • 16. The Shortest Route Problem Example Problem 16 Permanent Set Path Distance { O } O – A 2 O – B 5 O - C 4
  • 17. The Shortest Route Problem Example Problem 17 Permanent Set Path Distance { O, A } O – B 5 O – C 4 A – B 4 A - D 9
  • 18. The Shortest Route Problem Example Problem 18 Permanent Set Path Distance { O, A, C } O – B 5 A – B 4 A – D 9 C – B 5 C - E 8
  • 19. The Shortest Route Problem Example Problem 19 Permanent Set Path Distance { O, A, B, C } A – D 9 C – E 8 B – D 8 B - E 7
  • 20. The Shortest Route Problem Example Problem 20 Permanent Set Path Distance { O, A, B, C, E } A – D 9 B – D 8 E – D 8 E – T 14
  • 21. The Shortest Route Problem Example Problem 21 Permanent Set Path Distance { O, A, B, C, E } D – T 13 E - T 14
  • 22. The Shortest Route Problem Example Problem 22 Optimal Path Distance O – A 2 O – C 4 O – A – B 4 O – A – B – E 7 O – A – B – D 8 O – A – B – D – T 13
  • 23. The Shortest Route Problem Example Problem 23
  • 24.  A tree is a set of connected arcs that does not form a cycle.  A spanning tree is a tree that connects all nodes of a network.  The minimal spanning tree problem seeks to determine the minimum sum of arc lengths necessary to connect all nodes in a network.  The criterion to be minimized in the minimal spanning tree problem is not limited to distance. Other criteria include time and cost. The Minimal Spanning Tree Problem 24
  • 25. Required: Connect all nodes at minimum cost. 1 3 2 The Minimal Spanning Tree Problem 25
  • 26. Required: Connect all nodes at minimum cost. Cost is sum of edge weights 1 2 3 2 1 3 The Minimal Spanning Tree Problem 26
  • 27. Required: Connect all nodes at minimum cost. Cost is sum of edge weights 1 2 3 2 1 3 S.T. = 3 S.T. = 5 S.T. = 4 The Minimal Spanning Tree Problem 27
  • 28. Required: Connect all nodes at minimum cost. Cost is sum of edge weights 1 3 2 1 3 2 1 3 2 M.S.T. = 3 S.T. = 5 S.T. = 4 The Minimal Spanning Tree Problem 28
  • 29. Network of Possible Cable TV Paths The Minimal Spanning Tree Problem Example Problem Problem: Connect all nodes in a network so that the total branch lengths are minimized. 29
  • 30. The Minimal Spanning Tree Problem Solution Approach (1 of 6) Spanning Tree with Nodes 1 and 3 Start with any node in the network and select the closest node to join the spanning tree. 30
  • 31. The Minimal Spanning Tree Problem Solution Approach (2 of 6) Spanning Tree with Nodes 1, 3, and 4 Select the closest node not presently in the spanning area (not to create a cycle). 31
  • 32. The Minimal Spanning Tree Problem Solution Approach (3 of 6) Spanning Tree with Nodes 1, 2, 3, and 4 Continue 32
  • 33. The Minimal Spanning Tree Problem Solution Approach (4 of 6) Spanning Tree with Nodes 1, 2, 3, 4, and 5 Continue 33
  • 34. The Minimal Spanning Tree Problem Solution Approach (5 of 6) Spanning Tree with Nodes 1, 2, 3, 4, 5, and 7 Continue 34
  • 35. The Minimal Spanning Tree Problem Solution Approach (6 of 6) Minimal Spanning Tree for Cable TV Network Optimal Solution 35
  • 36. The Minimal Spanning Tree Problem Solution Method Summary Select any starting node (conventionally, node 1). Select the node closest to the starting node to join the spanning tree (not to create a cycle). Select the closest node not presently in the spanning tree. Repeat step 3 until all nodes have joined the spanning tree. 36
  • 37. 4 2 7 5 18 6 9 3 15 14 19 8 10 12 20 9 17 11 13 21 24 The Minimal Spanning Tree Problem-2 37
  • 39. 4 2 7 5 18 6 9 3 15 14 19 8 10 12 9 17 11 13 20 21 24 The Minimal Spanning Tree Problem-2 39
  • 40. 4 2 7 5 18 6 9 3 15 14 19 8 10 12 9 17 11 13 20 21 24 The Minimal Spanning Tree Problem-2 40
  • 41. 4 2 7 5 18 6 9 3 15 14 19 8 10 12 9 17 11 13 20 21 24 The Minimal Spanning Tree Problem-2 41
  • 42. 4 2 7 5 18 6 9 3 15 14 19 8 10 12 9 17 11 13 20 21 24 The Minimal Spanning Tree Problem-2 42
  • 43. 4 2 7 5 18 6 9 3 15 14 19 8 10 12 9 17 11 13 20 21 24 The Minimal Spanning Tree Problem-2 43
  • 44. 4 2 7 5 18 6 9 3 15 14 19 8 10 12 9 17 11 13 20 21 24 The Minimal Spanning Tree Problem-2 44
  • 47. 4 2 7 5 18 6 9 3 15 14 19 8 10 12 9 17 11 13 20 21 24 The Minimal Spanning Tree Problem-2 47
  • 48. 4 2 7 5 18 6 9 3 15 14 19 8 10 12 9 17 11 13 20 21 24 The Minimal Spanning Tree Problem-2 48
  • 49. 4 2 7 5 18 6 9 3 15 14 19 8 10 12 9 17 11 13 20 21 24 The Minimal Spanning Tree Problem-2 49
  • 50. 4 2 7 5 18 6 9 3 15 14 19 8 10 12 9 17 11 13 20 21 24 The Minimal Spanning Tree Problem-2 50
  • 51. Example Problem Statement and Data 1. Determine the shortest route from Atlanta (node 1) to each of the other five nodes (branches show travel time between nodes). 2. Assume branches show distance (instead of travel time) between nodes, develop a minimal spanning tree. 51
  • 52. Step 1 (part A): Determine the Shortest Route Solution 1. Permanent Set Branch Time {1} 1-2 [5] 1-3 5 1-4 7 2. {1,2} 1-3 [5] 1-4 7 2-5 11 3. {1,2,3} 1-4 [7] 2-5 11 3-4 7 4. {1,2,3,4} 4-5 10 4-6 [9] 5. {1,2,3,4,6} 4-5 [10] 6-5 13 6. {1,2,3,4,5,6} Example Problem, Shortest Route Solution (1 of 2) 52
  • 53. Example Problem, Shortest Route Solution (2 of 2) 53
  • 54. Example Problem, Minimal Spanning Tree (1 of 2) 1. The closest unconnected node to node 1 is node 2. 2. The closest to 1 and 2 is node 3. 3. The closest to 1, 2, and 3 is node 4. 4. The closest to 1, 2, 3, and 4 is node 6. 5. The closest to 1, 2, 3, 4 and 6 is 5. 6. The shortest total distance is 17 miles. 54
  • 55. Example Problem, Minimal Spanning Tree (2 of 2) 55