How Optimal is Your Leveling?

For the project manager, the objective of resource leveling is to minimize the length of the resource-feasible schedule. For the computer scientist, the objective is to write code that will find a resource-feasible schedule in a reasonably short amount of time. The resource-constrained project scheduling problem (RCPSP) is NP-hard, which means that finding an optimal solution may take considerable time to compute. To solve the problem quickly, schedule generation schemes and heuristic algorithms are used. The trade-off is that these algorithms, while finding a solution to the problem in a short amount of time, do not guarantee an optimal solution in terms of schedule length. So, the project manager is left wondering how optimal a leveling really is.

 

Some levelings…

Let’s start with an example. The schedule shown below is 16 days long, and there are three resources, each with a capacity of five units per day. All three resources exceed this capacity within the span of the schedule. To be resource-feasible, the schedule needs to be leveled.

Figure 1. Unleveled 16-day schedule.

 

Project’s standard leveling order yields a 29-day schedule (Figure 2). The ID only leveling order yields a 32-day schedule (Figure 3). Preemption (task splitting) and adjusting assignment levels were not considered for this example.

Figure 2. Project standard leveling order 29-day schedule.

 

Figure 3. Project ID only leveling order 32-day schedule.

 

Both of these leveled schedules have unnecessary delays. In the standard leveling, Task 4 could be started three days earlier. In the ID only leveling, Task 9 could be started 13 days earlier. While the task delays do not change the overall lengths of the leveled schedules, the delays indicate that these levelings are not members of the set of active resource-feasible schedules for this example. Active schedules are a subset of feasible schedules in which no task can be started earlier, either locally or globally, without causing a delay in some other task in the schedule.

 

But, are the levelings optimal?

What the project manager using Project does not see is that there are three unique active leveled schedules that yield a 26-day optimal result. Here is one of them.

Figure 4. One of three 26-day optimal leveled schedules.

 

The following chart shows the distribution of active resource-feasible schedule lengths for this particular example, along with the median length and the cumulative distribution. The distribution was generated using a schedule simulation technique similar to the one described in a prior article. The minimum value of the distribution is construed to be the optimal active resource-feasible schedule length. Project’s standard and ID only leveling lengths are superimposed on the chart for comparison, even though neither schedule is a member of active schedule set.

Figure 5. Distribution of active resource-feasible schedule lengths.

 

With knowledge of the underlying distribution of active resource-feasible schedule lengths, the project manager can assess the optimality of the standard and ID only leveling solutions that Project provides for this particular schedule. Relative to the unleveled schedule length, the optimal resource-feasible scheduled length is 163% longer, the standard leveling length is 181% longer, and the ID only leveling length is 200% longer. Relative to the optimal resource-feasible schedule length, the standard leveling length is 112% longer and the ID only leveling length is 123% longer.

 

What do you think?

How concerned are you about the optimality of resource-feasible schedules?  How do you assess whether a leveling is optimal?  Does not being able to assess optimality discourage you from using resource leveling? Please share your thoughts in the comments below.

 

Written by Robin Nicklas
Robin Nicklas is a project management consultant and educator. Since 2001, he has trained project managers in the aerospace, financial, telecommunications, government, and software sectors. Prior to teaching, he spent twenty years in information systems and technology, twelve of which he managed software development at large information service companies. Since 2003, he has taught graduate and undergraduate courses in project management at the University of Washington in Seattle, as well as MS Project courses at Bellevue College Continuing Education since 2011. Robin is a former president of the PMI Puget Sound Chapter in Seattle and a certified PMP. He can be contacted through his website, robinnicklas.com.
Share This Post
Have your say!
00
2 Comments
  1. I do not tend to use resource optimization for one primary reason. Human interaction.

    You can spend a lot of time and effort creating the perfect schedule. And as soon as a human touches your schedule it will start to unravel. Humans are not perfect, do not always come to work, do not always provide a consistent output when at work, and are generally the key to successful project outcomes. I find that intuition, team and individual history, and consistent contact with the project team can help the project manager understand how each team might perform during the next project. That means the project manager must build relationships, understand the work statement, and keep in touch with her teams to ensure that schedules can be met in the first place.

    I see resource optimization as part science and part art. If you just use just science to create great algorithms, then you will have schedules that never really work. By adding the art of human understanding based on relationships you have the chance to adjust schedules to better fit your team as they change over time.

    Let me distill that down to I prefer to provide a best fit schedule instead of a fully optimized schedule as I believe it provides a better predictor of actual project outcomes. Project rarely complete late and that, for most of my projects, provides a high value to my customers. (I guess I should have recognized that customer value should be a primary driver for how much and what type of optimization should be used for resource scheduling)

  2. Mike,

    Excellent point!

    In the Figure 5 chart, I plotted the cumulative frequency for the distribution of leveled schedule lengths. You can see that the likelihood of achieving an optimal 26-day schedule is low. If you were a betting person, would you prefer a leveled schedule length closer to the 50th percentile? 75th percentile?

    The problem is that unless the project manager sees the distribution of leveled schedule lengths, he or she will not know whether their schedule is very unlikely to be achieved or is so likely as to be wasteful.

    And, I agree with you that there is more to managing projects than trying to wring the last ounce of rationality from a schedule.

    Thank you for your observations.

Leave a Reply