Chapter-6: Network Analysis
Chapter-6: Network Analysis
Network Analysis
([email protected])
MLT/Lecture Note
11/27/2023
6.1. Introduction: Network Analysis
What is a Network?
• Networks are patterns of relationships that connect individuals, institutions, or
objects (or leave them disconnected).
• Networks are Everywhere
Physical Networks
Road Networks
Railway Networks
Airline traffic Networks
Electrical networks, e.g., the power grid
Communication networks/internet networks
Computer networks
Social networks
Organizational charts
Friendship networks
Interaction networks (e.g., cell calls)
MLT/Lecture Note
11/27/2023
• A network is a set of nodes connected by a set of edges
Nodes are also called vertices
Edges are also called links
Networks are also called graphs
• A node represents an entity, this can be anything:
People
Cities
Symptoms
Psychological constructs
• An edge represents some connection between two nodes. Again, this can be
anything:
Friendship / contact
Distance
Comorbidity
Causality
Interaction
• Networks can be directed or undirected.
MLT/Lecture Note 11/27/2023
Directed network Undirected network
Algorithm Steps
Step 1. Initialization
• Assign the zero distance value to node s, and label it as Permanent. [The state
of node s is (0, p).]
• Assign to every node a distance value of ∞ and label them as Temporary. [The
state of every other node is (∞, t).]
• Designate the node s as the current node.
Step 2. Distance Value Update and Current Node Designation Update
• Let i be the index of the current node.
1) Find the set J of nodes with temporary labels that can be reached from the
current node i by a link (i, j). Update the distance values of these nodes.
• We want to find the shortest path from node 1 to all other nodes using Dijkstra’s
algorithm.
Step -1: Initialization
• Node 1 is designated as the current node
• The state of node 1 is (0, p)
• Every other node has state (∞, t)
11/27/2023
Step 2:
• Nodes 2, 3,and 6 can be reached from the current node 1
• Update distance values for these nodes
d2 = min{∞, 0+7} = 7
d3 = min{∞, 0+9} = 9
d6 = min{∞, 0+14} = 14
• Now, among the nodes 2, 3, and 6, node 2 has the smallest distance value
• The status label of node 2 changes to permanent, so its state is (7, p), while the
status of 3 and 6 remains temporary
• Node 2 becomes the current node
11/27/2023
Step 3: Graph at the end of Step 2
We are not done as not all
nodes have been reached from
node 1, so we perform another
iteration (back to Step 2).
11/27/2023
• Now, between the nodes 3 and 4, node 3 has the smallest distance value. The
status label of node 3 changes to permanent, while the status of 6 remains
temporary
• Node 3 becomes the current node. We are not done (Step 3 fails), so we perform
another Step 2.
• Nodes 6 and 4 can be reached from the current node 3
• Update distance values for them
• d4 = min{22, 9+11} = 20
• d6 = min{14, 9+2} = 11
11/27/2023
• Node 5 can be reached from the current node 6
• Update distance value for node 5
d5 = min{∞, 11+9} = 20
11/27/2023
C) Network Analysis in project management
What is a Project?
A sequence of connected events that are conducted over a defined and limited
period of time and are targeted towards generating a unique but well defined
outcome.
MLT/Lecture Note
11/27/2023
Chapter-6
Project Life Cycle
Project Identification
Evaluation Preparation
Intermediate
phase
Cost and staffing
MLT/Lecture Note
11/27/2023
Chapter-6
Project Management
Why project management?
Because the success or failure of projects depends on the management
Project management (PM) is the discipline of planning, organizing, staffing
and directing of resources to bring about the successful completion of
projects and achievement of specified project objectives.
PM aims to ensure the effective use of resources and delivery of the project
objectives on time, within cost constraints and required quality.
CPM, on the other hand, is most appropriately used in projects in which the
activity durations are known with certainty.
In CPM, not only the amount of time needed to complete the various facets of
the project but also the amounts of resources required for performing ach of
the activities are assumed to be known.
CPM is basically concerned with obtaining the trade-offs between the project
duration and cost.
As such, whereas variation in the project time is inherent in projects where
PERT is used, the time is systematically varied (using additional resources)
where CPM is employed.
Thus, PERT is probabilistic in nature (and mostly suitable in R&D project)
while CPM is deterministic with mostly applied in construction projects.
The immediate predecessors for a particular activity are those that must be
completed immediately before the next activity starts.
MLT/Lecture Note 11/27/2023
Chapter-6
The relationship of the activities can be portrayed graphically by a network in
an arrow diagram.
Because the project planning function begins with a list of all the activities
and their precedence relationships, the network can be constructed through the
use of a series of arrows and nodes, thus conveniently expressing the
sequential nature of the project.
Each of the activities that make up the project consumes time and resources
and has a definable beginning and ending.
The arrows in a network represent the various activities of the project.
The circles at the beginning and at the end of the arrow represent the nodes, or
the events, of beginning and completion, respectively, of the activity in
question.
The difference: whereas an activity is a recognizable part of a project,
involving mental or physical work and requiring time and resources for its
completion; an event connects an accomplishment occurring at an
instantaneous point in time which neither requires any time for itself nor
consumes any resource.
MLT/Lecture Note 11/27/2023
Chapter-6
B (5) 3 D (1)
A (2) F (1)
1 2 5 6
C (1)
4
E (6)
Figure 6.1: Project arrow diagram
3
B E H 7 J
A C F
1 2 4 6 9 10
D G I K L
5
8
Note: H and I can not be occurred (started) before E, F and G are completed (it
implies that E, F and G must be completed before undertaking H and I, but their
completion is not necessarily at the same time or simultaneously). Likewise, J
and K must be completed before undertaking activity L.
vi. Events are identified by numbers, like in the above example 1 entails to the
event of ‘start’ occurs for activity A and 2 represents the event “end or
completion’ occurs for activity A, and so forth. An event identified by a
number should be higher than that allotted to the event immediately
preceding. The numbers for events should not be duplicated.
Example,
a) Incorrect B) correct
A A
2
1 2
B
1
B
3
Or
A 3
1
B 2
3
7
A B D E G H
1 2 6 9
C F
5
A -
B A
C A
D A, C
E B, D
F B, D, E
G B, D
H E, F, G
A -
B A
C A
D C
E B, D
F E
G B, D
H F, G
3
B
A 6
1 2
C E F
4 D 5 G H
7 8
D (3)
2 5
A (2)
E (6) I (2)
1 B (7) G (4) 7 K (6) 8
3
Probability
Activity Times
m = Modal
pessimistic
Optimistic
expected
time
time
tei =
time
time
b=
a=
tei
Where,
tei = expected time of the ith activity
a = optimistic time
m = most likely, or modal time
b = pessimistic time
The standard deviation, σi, of the completion time of an activity is calculated
as:
σi
11/27/2023 MLT/Lecture Note
Chapter-6
The variance, therefore, is:
2
σ2 i
Once the expected times of the activities are obtained, the critical path of the
project network is determined using these time estimates.
Having found the critical path, the PERT method assumes that the aggregation
of the mean times and the summation of the variances of critical jobs would
yield the project duration expected and its variance.
An assumption invoked is that of the Central Limit Theorem, which states
that the sum of several independent activity durations will tend to be normally
distributed, with a mean equal to the sum of their individual job times and the
variance equal to the sum of their individual activity variances.
Accordingly, the probability distribution of times for completing a project can
be approximated by using a normal distribution curve which becomes more
exact as the number of activities increases.
Estimates using the curve can be fairly exact if and when there are at least 30
activities along a given path.
C (4,8,12) 7 8
F (8,9,16) H (1,2,3) I (6,7,8)
4 6
μ = 47 days
σ = 3.496 days
Methods to reduce
durations
• Overtime work
• Hiring and/or
subcontracting
• Use of Advanced technology
11/27/2023
MLT/Lecture Note
Steps in Project Crashing
1. Compute the crash cost per time period. If crash costs are linear over time:
2. Using current activity times, find the critical path and identify the critical
activities
3. If there is only one critical path, then select the activity on this critical path that
(a) can still be crashed, and (b) has the smallest crash cost per period. If there is
more than one critical path, then select one activity from each critical path such
that (a) each selected activity can still be crashed, and (b) the total crash cost of all
selected activities is the smallest.
4. Update all activity times. If the desired due date has been reached, stop. If not,
return to Step 2.
Example:
For the small project shown in the table in the next slide, it is required reduce the
project duration by 2 periods.
11/27/2023
MLT/Lecture Note
ES EF
1.Develop Network
Total float = LF – EF LS TF LF
11/27/2023
MLT/Lecture Note
2. Calculate times, find critical path
Note:
i) G cannot expedite (be accelerated);
ii) Lowest slope and can be expedited on critical path is activity (C) WITH 2
periods
11/27/2023
MLT/Lecture Note
Reduce 2 periods of activity (C) with increase cost of (2*50) = $100