Stochastic RCPSP
SRCPSP · Uncertain Durations · Proactive-Reactive
Construction · Schedule & Sequence · TacticalConstruction durations are chronically uncertain — weather, permits, subcontractor delivery, and learning-curve effects all distort the tidy deterministic schedule. The Stochastic Resource-Constrained Project Scheduling Problem (SRCPSP) models each activity duration as a random variable \( \tilde p_i \) and asks: what schedule minimises expected makespan, or maximises the probability of meeting the owner's deadline? Herroelen & Leus (2005) surveyed the landscape and distinguished proactive strategies (insert time buffers during baseline scheduling to absorb variance) from reactive ones (right-shift activities as durations are realised during execution). The page lets you run Monte Carlo simulations under both policies.
Where This Decision Fits
Schedule risk management — the highlighted step is what this page optimises
The Problem
Makespan distribution under uncertain durations
Take the deterministic RCPSP of the previous page and replace fixed durations \( p_i \) with random variables \( \tilde p_i \sim F_i \). Construction practice typically uses a beta, triangular, or lognormal distribution with a point estimate \( \mu_i \) (the deterministic duration) and a standard deviation \( \sigma_i = \kappa_i \mu_i \), where \( \kappa_i \) is the coefficient of variation. For low-risk civil work \( \kappa \approx 0.1 \); for permit-heavy or weather-exposed activities it can exceed \( 0.4 \).
A common objective is to minimise the expected makespan given a policy \( \pi \) (the rule that decides when each activity starts given observed durations so far):
The policy space \( \Pi \) is the key modelling choice:
- Deterministic (naive): schedule on mean durations \( \mu_i \); right-shift only when a predecessor actually finishes late.
- Proactive buffered: schedule on mean durations plus a time buffer \( b_i \) per activity, sized so that cumulative variance on the critical path is absorbed. Van de Vonder et al. (2007) propose the Starting Time Criticality (STC) heuristic.
- Reactive dispatch: at each decision epoch, re-run Serial SGS on the remaining activities with the realised durations so far. Higher computational cost per realisation, but usually the lowest expected makespan.
Chance-constrained alternative: \( \Pr(s_{n+1} \le T) \ge 1 - \alpha \) — the deadline must be met with probability \( 1 - \alpha \) (typical owner requirements: \( \alpha = 0.1 \) or \( 0.05 \)). This becomes a \( (1-\alpha) \)-quantile constraint on the makespan CDF.
See the deterministic RCPSP formulationTry It Yourself
Monte Carlo over uncertain durations under three policies
Stochastic RCPSP Simulator
10 Activities · 1000 replications0.1 = civil-works typical, 0.2 = average, 0.4+ = permit/weather exposed.
Pick a scenario, set uncertainty + deadline, choose a policy, and click Run.
The Algorithms
Three canonical policies plus Monte Carlo evaluation
Deterministic (mean-based)
O(n\u00b2) per replication — Serial SGS on \u03bcSchedule every activity at its mean duration. During simulated execution, push any successor that the realised finish of its predecessor would push — right-shifting the tail. Simple but chronically over-optimistic; the actual makespan is usually 15–30% longer than the deterministic CPM result when variance is material.
Starting-Time Criticality (STC) Buffers
O(n\u00b2 + R · n) — Monte Carlo sizing, R repsVan de Vonder, Demeulemeester & Herroelen (2007) score each activity's starting-time criticality — the probability that the activity's start is delayed beyond the deterministic baseline — using a short pre-simulation. Buffers are inserted in front of the highest-STC activities, sized to hit a target on-time completion probability. Robust to execution noise; worse expected makespan than reactive dispatching but predictable.
Right-Shift Dispatching
O(n\u00b2 \u00b7 R) — re-schedule per realisationAt every decision epoch (activity finish event), re-run Serial SGS with realised durations so far and a priority rule (LFT, MTS, GRPW). BallestÃn (2007) showed reactive policies dominate proactive ones in expected makespan when \( \kappa \ge 0.2 \); at lower uncertainty the proactive schedule is competitive and gives owners a stable delivery date.
Real-World Complexity
Why construction uncertainty goes beyond basic SRCPSP
Beyond Independent Durations
- Correlated durations — Weather affects all concurrent outdoor activities; supply-chain disruptions hit related material-dependent activities together. Independent sampling is a convenient lie.
- Bayesian updating — As the project progresses, observations refine the duration distribution of future activities (same trade, same subcontractor, same crew).
- Resource uncertainty — Crew availability also fluctuates (absenteeism, competing projects). Robust extensions add stochastic \( R_k \) on top of stochastic \( p_i \).
- Partial preemption — Activities can sometimes be paused (formwork cures, inspections pending) without restart cost; the scheduler can exploit this for cheap robustness.
- Learning curves — Repetitive activities (floor framings, highway paving stations) get faster with experience, so durations are sequence-dependent — not independent draws.
- Rare-but-catastrophic events — Strikes, floods, design-change orders. Heavy-tailed distributions (Pareto) dominate expected-makespan calculations; percentile objectives (P95, P99) are a saner metric than the mean.
Related RCPSP Variants
SRCPSP is the uncertainty arm of the Hartmann-Briskorn taxonomy
Key References
Cited above · DOIs & permanent URLs
Need to schedule under uncertainty?
From stochastic project scheduling to time-cost tradeoff and robust cash-flow planning, mathematical modelling translates construction variance into predictable delivery. Let's discuss how Operations Research can work for you.