Subject: Civil Engineering Chapter: Estimation & Construction Management Topic: 23.7 CPM and PERT
CPM and PERT are the two network techniques used in project management to plan, schedule and control the activities of a project. CPM stands for Critical Path Method and PERT stands for Programme Evaluation and Review Technique, and both represent the project as a network of activities drawn as arrows and events drawn as nodes, so that the logical sequence of the work and the total duration of the project can be studied. CPM was developed in the United States in the late 1950s for the planning of industrial construction work, while PERT was developed at about the same time by the United States Navy for the planning of the Polaris missile programme. For a candidate in SSC JE, RRB JE and state AE/JE examinations, CPM and PERT are among the most important numerical topics in the construction management section, because questions on the critical path, floats, earliest and latest times are asked again and again.
The two techniques differ mainly in their treatment of time. CPM is a deterministic technique, in which the duration of each activity is assumed to be known and fixed, and it is used for projects such as building and construction where the duration of each activity can be estimated from past experience. PERT is a probabilistic technique, in which the duration of an activity is not known exactly, and three time estimates, namely the optimistic time, the most likely time and the pessimistic time, are used to find an expected duration, and it is used for projects such as research and development, shipbuilding and missile programmes where the activities are new and their durations are uncertain. In CPM, the cost of crashing activities is also studied, while in PERT the probability of completing the project within a given time is computed.
In this chapter we will study the basic elements of a network, the rules for drawing the network, the computation of the earliest and latest times, the determination of the critical path and the floats of the activities. We will also study the three time estimates of PERT, the computation of the expected time and the variance, and the calculation of the probability of completion within a given time. Worked numerical examples of the critical path and the expected time will be solved, because these computations form the core of the examination questions on this topic.
A network is a graphical representation of the project in which the activities are shown as arrows and the events as nodes. An activity is a task that consumes time and resources, and it is represented by an arrow whose tail is the start event and whose head is the finish event. An event is a point in time, representing the start or the completion of an activity, and it is drawn as a circle with a number. The activity is denoted by its start and finish events, such as the activity between event i and event j. A dummy activity is a dotted arrow that represents no real work and consumes no time; it is used only to maintain the correct logic of the network, such as when two activities share the same start and finish events.
Certain rules must be followed while drawing a network. The arrow must always point from left to right, from the smaller event number to the larger event number, and no activity can start until its tail event has occurred. No two activities may have the same head and tail events, and if they do, a dummy must be introduced. The network must have only one initial event, which has no incoming arrows and represents the start of the project, and only one final event, which has no outgoing arrows and represents the completion of the project. Loops, where a sequence of activities leads back to an earlier event, are not permitted, and a loop indicates a logical error in the plan.
The numbering of events follows the rule that the head event of an activity must have a number larger than the tail event, and the numbering is done progressively from the initial event to the final event. The path of a network is a continuous sequence of activities from the initial event to the final event, and the duration of a path is the sum of the durations of the activities on it. The critical path is the path with the longest duration, and it decides the minimum time in which the whole project can be completed. The activities on the critical path are called critical activities, and any delay in a critical activity delays the whole project.
The time analysis of a network is done by computing the earliest and latest times of the events. The earliest event time of an event is the earliest time at which that event can occur, and it is found by the forward pass, starting from the initial event with time zero and adding the duration of each activity to the earliest time of its tail event, taking the maximum where several activities meet at an event. The latest event time of an event is the latest time by which that event must occur if the project is not to be delayed, and it is found by the backward pass, starting from the final event and subtracting the duration of each activity from the latest time of its head event, taking the minimum where several activities leave an event.
The float of an activity is the amount of time by which the activity can be delayed without affecting the project. The total float of an activity is the difference between the latest event time of its head event and the earliest event time of its tail event, minus the duration of the activity, and it represents the maximum delay available to the activity without delaying the project. The free float is the time by which an activity can be delayed without delaying the start of the succeeding activities, and it is the earliest time of the head event minus the earliest time of the tail event minus the duration. The independent float is a stricter measure, obtained by subtracting the latest time of the tail event from the earliest time of the head event and then subtracting the duration.
The critical activities have zero total float, because any delay in them delays the project, and the critical path is therefore the path of zero-float activities. The sum of the durations of the critical activities gives the total project duration, and the slack of an event is the difference between its latest and earliest times. Events on the critical path have zero slack, and the slack of an event measures the delay that can be allowed at that event without affecting the project.
In PERT, the duration of each activity is uncertain, and three time estimates are made for each activity. The optimistic time is the minimum time in which the activity can be completed if everything goes well, the most likely time is the time that would be required under normal conditions, and the pessimistic time is the maximum time in which the activity can be completed if everything goes wrong. The expected time of the activity is computed by the formula that the expected time equals the optimistic time plus four times the most likely time plus the pessimistic time, divided by 6, and this gives a weighted average that is used in the network in place of the deterministic duration.
The variance of an activity measures the uncertainty in its duration, and it is computed by the formula that the variance equals the pessimistic time minus the optimistic time, divided by 6, squared. The standard deviation of the project is the square root of the sum of the variances of the critical activities. The expected project duration is the sum of the expected times of the activities on the critical path, and the probability that the project is completed within a given time is found by computing the value of z, where z equals the given time minus the expected project duration, divided by the standard deviation, and then reading the corresponding probability from the standard normal table.
The interpretation of the probability is important. If the probability comes out as about 0.5, the project will just be completed on schedule; if it is higher, the project will finish well before the given time; and if it is lower, the project is likely to be delayed beyond the given time. In PERT, crashing is rarely studied, because the durations are probabilistic, while in CPM, crashing the critical activities to reduce the project duration at extra cost is an important part of the analysis.
Example 1: A project has four activities: A of 3 days from event 1 to event 2, B of 4 days from event 1 to event 3, C of 5 days from event 2 to event 4, and D of 6 days from event 3 to event 4. Find the critical path and the project duration.
Solution: Path 1-2-4 has duration 3 + 5 = 8 days. Path 1-3-4 has duration 4 + 6 = 10 days. The critical path is the longest path, 1-3-4, and the project duration is 10 days.
Example 2: For activity 1-2 with earliest event time of event 1 equal to 0, duration of 5 days, earliest time of event 2 equal to 5 and latest time of event 2 equal to 8, find the total float of the activity.
Solution: Total float = latest time of head event - earliest time of tail event - duration = 8 - 0 - 5 = 3 days. The activity has a total float of 3 days.
Example 3: An activity has optimistic time 4 days, most likely time 6 days and pessimistic time 14 days. Find the expected time and the variance.
Solution: Expected time = (4 + 4 x 6 + 14) / 6 = (4 + 24 + 14) / 6 = 42 / 6 = 7 days. Variance = ((14 - 4) / 6) squared = (10 / 6) squared = 2.78. The expected time is 7 days and the variance is 2.78.
Example 4: The expected project duration is 30 days and the standard deviation is 4 days. Find the probability of completing the project within 34 days, given that z = 1 corresponds to a probability of 0.84.
Solution: z = (given time - expected duration) / standard deviation = (34 - 30) / 4 = 1. The probability of completion within 34 days is 0.84, or 84 percent.
| Feature | CPM | PERT |
|---|---|---|
| Full form | Critical Path Method | Programme Evaluation and Review Technique |
| Nature | Deterministic | Probabilistic |
| Time estimates | Single, known | Three estimates |
| Used for | Construction and buildings | R and D, new projects |
| Main focus | Cost and crashing | Time and probability |
| Dummy activities | Used | Used |
| Quantity | Formula |
|---|---|
| Expected time | (Optimistic + 4 x Most likely + Pessimistic) / 6 |
| Variance | ((Pessimistic - Optimistic) / 6) squared |
| Total float | Latest head - Earliest tail - Duration |
| Free float | Earliest head - Earliest tail - Duration |
| Project standard deviation | Square root of sum of critical variances |
| z value | (Given time - Expected duration) / Standard deviation |
flowchart TD
A[CPM and PERT] --> B[Network elements]
A --> C[CPM]
A --> D[PERT]
B --> B1[Activity - arrow]
B --> B2[Event - node]
B --> B3[Dummy activity]
C --> C1[Deterministic time]
C --> C2[Critical path]
C --> C3[Floats]
C --> C4[Crashing and cost]
D --> D1[Three time estimates]
D --> D2[Expected time formula]
D --> D3[Variance]
D --> D4[Probability of completion]
C2 --> C2a[Longest path, zero float]
D2 --> D2a[(O + 4M + P) / 6]
The following diagrams show a typical activity-on-arrow network and the critical path of a project.
CPM and PERT are the most powerful tools of modern project management, because they replace guesswork about the duration of a project with a logical and quantitative analysis of the network. In this chapter we have studied the elements of the network, the rules for drawing it, and the computation of the earliest and latest times of the events by the forward and backward passes. We have determined the critical path as the longest path of zero-float activities, which fixes the minimum duration of the project, and we have computed the floats of the activities. We have also studied the three time estimates of PERT, the expected time and variance formulas, and the probability of completing the project within a given time, and we have solved worked numerical examples for each computation. The critical path and the expected time are the two computations that are tested most often in competitive examinations, and a candidate who has mastered the forward and backward passes and the PERT formulas can answer a large share of the network questions with confidence. This understanding of CPM and PERT forms the technical basis of the next topic of construction scheduling, where the network is converted into a time schedule for the actual execution of the project.