Project Lab r2 is a small, standalone HTML project planner for management science. It includes CPM scheduling, continuous linear-programming crashing, and two ways to estimate completion probability. It is not affiliated with Microsoft.
1. Build your project
Add activities, normal durations, and predecessor IDs. Dependencies are finish-to-start, with zero lag. Multiple predecessors are supported. A zero-duration activity is a milestone. Click any activity row or Gantt bar to edit. Use the horizontal scroll control or scrollbar to move across a chart, the + / − buttons to zoom, and Fit to show the complete chart. In Gantt view, check Show activity names on bars to display names; longer labels are shortened, with the full name available on hover. Save project downloads an editable .pjl file; Open restores it. Browser autosave is a convenience; save a file to keep a portable copy. CSV is an export of the current schedule and activity inputs.
2. Read the critical path
The forward pass calculates earliest start (ES) and finish (EF); the backward pass calculates latest start (LS), finish (LF), and total float. Zero-float activities are critical. The Network and CPM table views show these relationships. If several paths tie, all critical activities are highlighted; the displayed representative path uses the largest textbook variance among tied paths.
EFᵢ = ESᵢ + dᵢ; ESᵢ = max(EF of predecessors)
LSᵢ = LFᵢ − dᵢ; LFᵢ = min(LS of successors)
Total floatᵢ = LSᵢ − ESᵢ
3. Crash with a linear program
Let xᵢ be days removed from activity i, sᵢ its start time, nᵢ its normal duration, and cᵢ its cost slope. The solver uses a two-phase simplex method.
Minimize Σ cᵢ xᵢ
Subject to:
sⱼ ≥ sᵢ + nᵢ − xᵢ for every dependency i → j
sᵢ + nᵢ − xᵢ ≤ D for every activity
0 ≤ xᵢ ≤ nᵢ − minimumᵢ
sᵢ ≥ 0
cᵢ = (full crash costᵢ − normal costᵢ) /
(normal durationᵢ − minimum durationᵢ)
The target D is a completion bound. If D is impossible, the app reports the shortest feasible duration. Find least total cost instead makes project duration T a variable and minimizes crash cost + (indirect cost/day) × T; normal direct cost is constant. With zero indirect cost it returns the normal plan. All times are continuous: this is not an integer-day or discrete resource optimization. Multiple equally optimal plans may exist. The time–cost chart shows sampled deadlines, so connecting segments are illustrative.
Use Apply to schedule to show an optimized plan; normal inputs remain available. Progress and owners are informational and do not constrain crashing. Editing any project data clears previous analysis results.
4. Textbook PERT
Expected activity duration tₑ = (a + 4m + b) / 6
Textbook activity variance v = ((b − a) / 6)²
Path mean μ = Σ tₑ; path variance σ² = Σ v
z = (deadline − μ) / σ
P(finish by deadline) ≈ Φ(z)
This uses one critical path of the expected-duration network. It assumes independent durations and a normal approximation to that path's total. It can overstate completion probability when alternate paths become critical or when the path has few or skewed activities. For deterministic paths, probability is 0% before the finish and 100% at or after it.
5. Beta-PERT network simulation
λ = 4
α = 1 + 4(m − a)/(b − a)
β = 1 + 4(b − m)/(b − a)
Duration = a + (b − a) × Beta(α, β)
Exact beta-PERT variance =
(b − a)² αβ / ((α + β)²(α + β + 1))
Here a and b are hard bounds, and m is the mode. When a = b the duration is constant. The simulation samples every activity and recomputes the network finish for every trial, allowing the critical path to change. The network finish is generally not itself beta-PERT. The textbook variance and the exact beta-PERT variance are different conventions, which can produce different results even for a single path.
P50, P80, and P90 are simulated completion-duration percentiles. The probability interval is a 95% Wilson sampling interval, not a guarantee about the quality of the input estimates. Activity criticality is the fraction of simulations in which the activity has zero total float. Changing only the deadline reuses existing trials. PERT calculations use uncrashed estimates; no automatic assumption is made about uncertainty after crashing.
Scope & limits
Up to 100 activities; one project calendar; no resource leveling, baselines, holidays, lagged links, or Microsoft .mpp import. Projects stay in this browser until you download them; the app does not synchronize project data across devices. Costs use dollars; durations use days. Calculations retain full precision and generally display three decimals.
Method references
Carnegie Mellon: uncertain schedules and time–cost tradeoffs
RiskAMP: beta-PERT distribution