Monte Carlo simulation challenges. Activity lead (negative lag) challenge.

Monte Carlo simulation challenges. Activity lead (negative lag) challenge.

Odesa anecdote:

– Tram. Can you tell me when the Deribasovskaya stop will be?

– Follow me and get off two stops earlier!

Lead (or negative lag) is a situation when the successor activity overlaps the predecessor activity.

It is very beneficial to overlap activities as it may help to shorter project delivery, so leads should be encouraged. However, the leads need to be used correctly to get the expected result.

Usually, an activity with a lead is linked to the completion of another activity. Practically though the trigger to start the successor activity depends on the achieved result of the predecessor activity, not the completion date. The forecasted completion date of the predecessor is a PROXY that could be used as a trigger. It could be a good proxy or a bad proxy.

The best practice is to define the required result (via a volume of work) and link the successor to this result.

This simple example demonstrates the challenge.

Task A requires completing four units. Task B takes three days and can commence after three units of Task A are completed. With a planned productivity rate of one unit per day, it takes four days to complete Task A, and Task B can commence on the 4th day. The whole project takes six days.

Such a scenario could be programmed in two ways:

Option 1: Completion date is a PROXY.

Use the predecessor completion date as a proxy.

If Task A does not progress as planned and the actual productivity rate is one unit per two days, it takes eight days to complete Task A. Task B can commence on the 8th day, and it takes ten days to complete project:

Option 2: Volume of work is a PROXY.

The successor is linked to SS + 3 units (not the same as SS+ 3 days). The schedule has the exact activity durations, start and completion dates as option 1.

If Task A does not progress as planned and the actual productivity rate is one unit per two days it takes eight days to complete Task A, but Task B can commence on the 7th day. It takes only nine days to complete the project.

A project planner can adjust lead durations manually, but during the Monte Carlo Simulation analysis, it must be done automatically based on changed project conditions.

A similar problem occurs when the predecessor activity progress is better than expected. In this case, the schedule incorrectly shows that the successor activity can commence when practically the required work volume is not yet achieved.

If the schedule with (FS – X days) leads is used for the Monte Carlo Simulation, the simulation result may be impacted as simulations don’t represent how work could actually be performed.

The forecast completion date of the predecessor may not be the best PROXY for activity leads. Often, it is the only available proxy (due to scheduling tools constraints).

The application of activity lead is beneficial but planners developing a project delivery model need to apply leads correctly.

Alex Lyaschenko

PMO | Portfolio Planning & Delivery | PMP | P3O Practitioner | AgilePM Practitioner | Six Sigma

Best practice vs Best workarounds

Best practice vs Best workarounds

Many planners mix up ‘Best scheduling practice’ with ‘best workarounds’ in a particular scheduling tool.

When they heavily apply one of scheduling tool, they start to believe that the workarounds are the best practice, refuse to learning alternatives and even debate that other tools must support such workarounds even if they are not required. The same applied to project risk managers.

How to avoid the ‘Overconfidence Bias’ trap?

  • Learn theories behind planning and risk management.
  • Always be curious about what a tool can’t do, whether workarounds are possible, and if they are, think about the downsides.
  • Look for chances to learn about other tools.

Remember, a not-so-great specialist just knows what a tool can do. A good one understands the problems and workarounds. An excellent specialist also knows the bad side of workarounds and can suggest other tools when needed.

Alex Lyaschenko

PMO | Portfolio Planning & Delivery | PMP | P3O Practitioner | AgilePM Practitioner | Six Sigma

Original Critical Path Method and beyond

Original Critical Path Method and beyond

Recently I have organised a Linked Poll on the origin of the Critical Path Method:

Originally in the Critical Path Method, project activities had to be estimated as:

• Single estimation
• Range
• 3-point estimation
• Don’t have duration

The accurate response, which was supported by a credible paper, was promptly shared in the comments, but it had little influence on the result. Nearly all participants stated that it relied on either a “single estimation” (48%) or a “3-point estimation” (41%). Merely 11% (!) provided the correct answer, which is that the critical path method originally requires estimation of each activity with time and cost ranges. These ranges extended from Optimistic to Normal estimates, as opposed to extending from optimistic to pessimistic estimates, as some respondents may have believed.

Let’s review how the Critical Path Method evolved over the time and what we can learn from the origin.

Two-phased method

The Critical Path Method (CPM) initially had two main phases. The first phase was known as the “time analysis phase,” while the second was the more complex “time-cost trade-off phase.” This is why CPM emerged in the late 1950s, as computers became accessible for analysis. The first phase, involving schedule time analysis, was quicker perform manually. However, the second phase, which required a heuristic solution, could not be carried out effectively without the aid of a computer.

The main goal of the Critical Path Method was to apply Heuristic Solutions to optimise project delivery plan, not to find critical activities based on expected durations.

Over the time the critical path method was split into two separate methods. The first phase of the original technique evolved into today’s CPM method, while the second phase became what we now know as the ‘CPM Least Cost Scheduling Technique’. Now most project delivery tools are only capable of supporting the first phase and do not include time-cost optimization analysis. These tools can calculate just two basic CPM metrics: Total Float and Free Float. They lack support for schedule optimization methods and metrics like Critical Path Activity Drag, Drag Cost, FLEX, Super Float. etc. 

Normal and Crashed durations

The fundamental assumption of the CPM model is that it is possible to assign a time range for each activity, indicating the time frame within which the activity is expected to be completed.

The duration of most tasks can fluctuate based on factors like the number of work crews, the efficiency of the machinery used, and the length of the workday, material supply. Typically, planners develop plan assuming a standard crew size, regular workdays, and the use of “owned” equipment when estimating the activity duration. These estimated activity durations under these conditions are referred to as Normal durations. When time is not a critical factor, management often allocates resources at the normal level.

In the CPM cost model, there’s another method for estimating time. In this approach, management considers the quickest possible time to complete activities. When there’s a strong deadline, management may allocate the best available resources and work around the clock to meet it. The fastest possible time required to complete an activity is termed the Crash Duration. In the CPM cost model, it is assumed that no activity can be completed faster than its crash duration. When management optimizes its resources to achieve each task at its crash duration, this scheduling approach results in a shorter overall project duration.

Changing the activity durations will affect the project duration and the project cost. From the project’s point of view, we can distinguish between two types of cost.

Direct and Indirect cost

The first type of costs is called the direct cost, and indicates the cost that is directly attributable to a task. The sum of the direct costs of a project’s activities is called the Project Direct Cost.

The other type of costs is called the Indirect or overhead Cost, also known as fixed cost. This type includes the cost factors that are not easily attributable to activities, but rather belong to the whole project. The elements of indirect cost are, for example, the amounts of rent of social facilities, management salaries, interest charges, etc. These costs are usually linear. One day saved on a project saves one day’s fixed costs, ten days saved on a project saves ten times more. The sum of project direct cost and indirect cost is called the Project Total Cost.

Normal and Crashed Cost

In the CPM cost model, there is a special emphasis on the change of the direct cost. The direct cost that is related to normal activity duration is called the Normal Cost. Shortening the duration of an activity to its crash duration usually results in higher accomplishing cost. Premium for overtime will increase the accomplishing cost of an activity. In order to shorten the activity, material costs can also increase.

The cost related to crash duration is called the Crash Cost. The nature of change of the cost can be presented this way.

Lower and Upper Limits

There is a lower time limit, the crash duration, which no amount of expenditure can shorten. There is an upper limit, which is the normal duration, and one can make no more savings by letting the task go slowly. The change of the cost between the normal and the crash time points is usually convex, i.e., the costs shortening the activity duration by a new additional day are higher than the extra cost increment of the previous shortening.

The upper cost and time limits are not actually the absolute limits but practical upper limits. An activity may cost more and take longer but it doesn’t make sense to do so. Now we are aware that there are some complex scenarios when it is beneficial to increase an activity duration but at that time it probably wasn’t known.

In the CPM cost model, a linear approximation is used instead of the convex activity time-cost curve. Using the linear approximation, the so called Сost Slope can also be defined.

Cost Slope is amount of money required for shortening an activity duration by 1 day.

In a network where an activity duration can change between its lower and upper bound, different project durations are possible. The same project duration can be achieved in hundreds of different ways. If all the activities are considered to be accomplished in their normal time, then we get the maximal project duration. If all the activities are considered to be accomplished in their crash time, we get the Minimal Project Duration. Many project durations between these two extremes can be achieved and all of them can be achieved in hundreds of different ways which result in hundreds of different project direct costs. The set of the possible solutions is shown as:

All Crashed and Normal Points

Two points of the set of feasible solutions come automatically. If time analysis is done using normal durations, we will get point ‘All Normal Points’ which is the optimal solution for cost. If time analysis is done using crash durations, we will get point ‘All Crashed Points’ which is the most expensive solution.
The initial goal in the CPM method is to identify the curve of minimum direct costs, which represents the Minimum Direct Cost Solutions.
On this curve also one point represents Time Optimised Solution with the minimum cost in the most accelerated schedule.

Cost optimised solution

If the line of ‘project minimum cost’ is defined, adding line of ‘indirect cost the optimal duration’ allows to determine ‘the least Project total cost’.

Heuristic Solutions

Original heuristic method originates from James E. Kelly and Morgan Walker was very sophisticated.

Later to make the CPM time-cost trade-off technique understandable for construction industry experts simpler heuristic method were developed by pioneers of network techniques.

First simple heuristic algorithms were presented by John Fondahl in earlier 60th. A decade later Nicolai Siemens offered an alternative simple CPM method. Both methods are based on the primary-dual theory of operation’s research. In 80th-90th some books were published where these and other methods explained and compared.

Even in recent years science papers dedicated to CPM cost model optimisation were published and can be easily found via internet search.

Early Developments

By May 1957 the CPM theory had advanced to the point where it was felt that the approach would be successful. At that time a cooperative effort to implement the method was undertaken by Remington Rand and duPont in order to determine the extent to which any further work was advisable.

Remington Rand supplied the required programs for duPont’s UNIVAC I computer located in Newark, Delaware. Engineers from DuPont provided a small pilot problem with which to make the preliminary tests. The results of this phase of the development were officially demonstrated in September, 1957. The demonstration showed that the technique held great promise. At the same time testing based on practical implementation indicated that a computer with greater capacity was essential.

First successful implementing of method was actually without calculation of cost. Time priority for the plant shutdown project (Louisville Works) was so obvious that Normal and Crashed costs haven’t been even gathered. While it was only time optimisation, the result (March 1959) was accepted as big success and soon hundreds of CPM papers were published, few algorithms were developed and deployed on to mainframe computers.

Apollo and Artemis were the first large-scale project management systems available on mini-computers (as opposed to mainframes) and the world’s first commercially successful relational database system. Artemis originated as the Artemis Project Management System developed by Metier Management Systems in 1978, a sister product to Apollo, Metier’s first PERT network scheduling system launched in 1977.

After over two decades of success Artemis encountered financial problems similar to many other high technology firms in the post dot.com bubble era but after some transformations the system still exist today under different name – Aurea Planning Solutions.

Two other systems released decades ago still used in project management and have more advanced methods then popular planning tools:

  • Micro Planner X-Pert (or X-Pert) is a project management software package in continuous development since 1979.
  • Spider Project launched in 1992 has unique methods to calculate Time-Cost balanced project and porfolio delivery plans.

Beyond original Critical Path Method

While original CPM was revolutionary it was some problems with this method that are worth to mention. Some of them creates a legacy we have to deal with even now.

  • CPM is based on preferred option to deliver project. Practically the result could be achieved more than one way. Different options may require different activities, equipment and skills, not just have different durations and costs. Complex algorithms that support ‘conditional logic’ were proposed but only a few project delivery tools work with conditions since.
  • CPM is based on assumption that required resources supply will be available. Practically we know that it is rarely the case. Projects around the Globe continue to be planned with assumption that if resource demand is identified it will be a solution to guarantee timely supply.
  • Originally network logic was based on ‘Finish-to-Start’ dependency type only. Later, other dependency types and time lags were proposed. It addresses logical issues but even further increase the complexity of heuristic algorithms.

Even development of logically correct schedule based on Normal durations is a challenge for many projects. It requires good analytical skills but planners are rarely tested on this skill. Many of them know how to use one or two scheduling tools but don’t know theory of scheduling and not able to develop feasible delivery plan that reflect reality.

 

  • Original CPM didn’t have an integration with risks management. Proper schedule and risk integration is common challenge for may projects now.
  • Apart from Crashing, there are other methods to accelerate project delivery but original CPM didn’t support them. Fast-tracking is the most know alternative.

The Critical Path method wasn’t the only invention in project management in late 50th. An  alternative know as ‘PERT analyses’ is based 3 point estimations was developed by the US Navy Special Projects Office, Bureau of Ordnance (SPO). In fact,  Kelly and Walker used the name ‘main chain’, and the term ‘Critical Path’ was invented and promoted by the team developed the PERT (Program Evaluation and Review Technique).  By the late 1960s both CPM and PERT had merged into ‘Network based management systems’. It is a separate intersting story.

Alex Lyaschenko

PMO | Portfolio Planning & Delivery | PMP | P3O Practitioner | AgilePM Practitioner | Six Sigma

Critical Path Method was not for time optimisation

Critical Path Method was not for time optimisation

Some time ago, I posted a poll on LinkedIn asking about the origins of the CPM method. Here’s what the respondents said:

  • 56% believe the method is all about making schedules efficient, focusing on time.
  • 4% think it was originally created to save costs.
  • 39% believe it was meant to optimise both time and costs.

I want to thank everyone who commented and shared links to websites and papers. Those resources are definitely worth checking out!

Certain planners have argued that optimising time inherently leads to cost optimisation as well. This assumption, however, may be inaccurate and could contribute to the higher project costs. It might be worthwhile to have a separate discussion to determine whether the common saying “Time is money” holds true in the context of projects.

The initial objective of the original CPM model was to identify the lowest project cost across various potential project durations. Achieving this goal necessitated a means of balancing both project time and cost. In my view, both responses, “Cost optimisation” and “Time and Cost optimisation,” are valid.

Research Article: “Sixty years of project planning: history and future” (M. Hajdu and S. Isaac).

The development of the CPM technique started in 1956, when the management of DuPont decided to utilize their UNIVAC 1 computer to support the maintenance work of their production plants. The management of the company wanted to prove that IT is the future, and that the money they had spent on the computer was not in vain. DuPont’s management thought that using the computer for planning and cost optimization was an excellent way to prove its utility. Morgan Walker, an engineer at DuPont, got the assignment of figuring out whether UNIVAC could be used for solving such problems.”

Since the 1960s, numerous papers on the Critical Path Method (CPM) have been published. While some proposals address specific situations, we still lack a comprehensive method to calculate schedules that are optimised for cost. When the Critical Path Method was first developed, the challenge of balancing time and cost was too complex for the existing computers and algorithms of that time to handle effectively.

Today, however, computers have become significantly more powerful, and AI solutions are reshaping different aspects of our life. Despite these advancements, there has been limited progress in solving the challenge of cost-optimised scheduling.

In upcoming posts, we review why the challenge is so complex, and we can discuss if it could be solved in the near future.

Alex Lyaschenko

PMO | Portfolio Planning & Delivery | PMP | P3O Practitioner | AgilePM Practitioner | Six Sigma