SlideShare a Scribd company logo
1 of 56
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 LoadsDing Nie
 
Y11 m02 networks
Y11 m02  networksY11 m02  networks
Y11 m02 networksXu 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
 
Branch and bounding : Data structures
Branch and bounding : Data structuresBranch and bounding : Data structures
Branch and bounding : Data structuresKàŕ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 LEVELPiero 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 beeGregorio Toro Rivera
 
352735336 rsh-qam11-tif-11-doc
352735336 rsh-qam11-tif-11-doc352735336 rsh-qam11-tif-11-doc
352735336 rsh-qam11-tif-11-docBookStoreLib
 
352735336 rsh-qam11-tif-11-doc
352735336 rsh-qam11-tif-11-doc352735336 rsh-qam11-tif-11-doc
352735336 rsh-qam11-tif-11-docFiras Husseini
 
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 LogicVLSICS Design
 
MSc Thesis Presentation
MSc Thesis PresentationMSc Thesis Presentation
MSc Thesis PresentationReem Sherif
 
Chp12networksmodel 121128084640-phpapp01
Chp12networksmodel 121128084640-phpapp01Chp12networksmodel 121128084640-phpapp01
Chp12networksmodel 121128084640-phpapp01Firas Husseini
 
Ram minimum spanning tree
Ram   minimum spanning treeRam   minimum spanning tree
Ram minimum spanning treeRama Prasath A
 
Clock mesh sizing slides
Clock mesh sizing slidesClock mesh sizing slides
Clock mesh sizing slidesRajesh M
 
Vlsiphysicaldesignautomationonpartitioning 120219012744-phpapp01
Vlsiphysicaldesignautomationonpartitioning 120219012744-phpapp01Vlsiphysicaldesignautomationonpartitioning 120219012744-phpapp01
Vlsiphysicaldesignautomationonpartitioning 120219012744-phpapp01Hemant 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 PlanningUniversitas 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 AlgorithmIfad 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 networksPing 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.pptxAhmed Sobhi
 
L01_IENG 202 - ORI - Intro.pptx
L01_IENG 202 - ORI - Intro.pptxL01_IENG 202 - ORI - Intro.pptx
L01_IENG 202 - ORI - Intro.pptxAhmed Sobhi
 
MAN 547-Interpolation.pptx
MAN 547-Interpolation.pptxMAN 547-Interpolation.pptx
MAN 547-Interpolation.pptxAhmed Sobhi
 
4handling-part4-171025101141.pdf
4handling-part4-171025101141.pdf4handling-part4-171025101141.pdf
4handling-part4-171025101141.pdfAhmed Sobhi
 
camsfollowers-190301142036.pdf
camsfollowers-190301142036.pdfcamsfollowers-190301142036.pdf
camsfollowers-190301142036.pdfAhmed Sobhi
 
2nd lect CADCAM.pptx
2nd lect CADCAM.pptx2nd lect CADCAM.pptx
2nd lect CADCAM.pptxAhmed Sobhi
 
Lect_03 Mechanisms Sp23.pdf
Lect_03 Mechanisms Sp23.pdfLect_03 Mechanisms Sp23.pdf
Lect_03 Mechanisms Sp23.pdfAhmed 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.pptxAhmed 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

The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...ranjana rawat
 
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝soniya singh
 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Dr.Costas Sachpazis
 
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCall Girls in Nagpur High Profile
 
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )Tsuyoshi Horigome
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escortsranjana rawat
 
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)Suman Mia
 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...Soham Mondal
 
main PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidmain PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidNikhilNagaraju
 
What are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxWhat are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxwendy cai
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130Suhani Kapoor
 
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSMANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSSIVASHANKAR N
 
Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingrakeshbaidya232001
 
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...srsj9000
 
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxupamatechverse
 

Recently uploaded (20)

The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
 
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
 
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
 
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
 
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
 
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
 
main PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidmain PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfid
 
What are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxWhat are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptx
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
 
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSMANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
 
Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writing
 
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
 
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptxExploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
 
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINEDJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
 
Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.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