An optimal plan under one benefit estimate may be a poor plan when the estimate or demand shifts.
Scenario stress tests and regret for uncertain allocation benefits
Keep constraints fixed while varying assumptions
A staffing plan is chosen before tomorrow’s case mix is known. Create a small set of defensible benefit scenarios, such as ordinary conditions and a partner escalation surge, while keeping available hours and minimum coverage rules explicit. The scenario set is a stress test, not a probability distribution unless frequencies have been estimated. Sensitivity analysis distinguishes uncertain inputs from sampling intervals.
Compare plans in each scenario
Suppose two review types cost four and three hours. Under ordinary demand, their benefits per review are nine and six; under a partner surge, they are two and five. With a nine-hour budget, two first-type reviews yield 18 ordinarily but only four in the surge. Three second-type reviews yield 18 ordinarily and 15 in the surge. A plan chosen only by ordinary benefit misses the downside. These values are scenario assumptions, not measured outcomes.
Define a decision rule
A worst-case rule selects the feasible plan with the highest minimum benefit across the declared scenarios. Regret instead compares each plan with the best feasible plan in that scenario and asks how much benefit the choice gives up. Different rules can choose different plans. State the organization’s risk preference before seeing the winner. The objective must still reflect a real operating outcome.
Check uncertain capacity too
If one review sometimes takes an extra hour, a plan using exactly all nine hours can be infeasible in practice. Model that as a capacity scenario or retain explicit buffer. Do not treat a precise solver result as more certain than its time-cost and benefit inputs. Slack identifies which constraint is closest to failure.
Turn the stress result into evidence work
When plans trade places across plausible scenarios, identify which parameter matters most and collect better evidence there: a targeted review-time sample, a partner-case audit or a pilot allocation. Publish the scenario matrix and chosen rule with the plan. A later outcome audit can then distinguish a bad decision model from a scenario that actually changed.
Implementation
def choose_maximin_plan(candidate_plans, benefit_scenarios, hour_budget):
feasible = [plan for plan in candidate_plans
if 4 * plan[0] + 3 * plan[1] <= hour_budget]
if not feasible:
raise ValueError("no feasible candidate plan")
return max(feasible, key=lambda plan: min(
plan[0] * first_value + plan[1] * second_value
for first_value, second_value in benefit_scenarios))
plans = [(2, 0), (0, 3), (1, 1)]
scenarios = [(9, 6), (2, 5)]
assert choose_maximin_plan(plans, scenarios, 9) == (0, 3)Performance and operating cost
Evaluating P candidate plans against S scenarios costs O(PS) time and O(P) memory for the feasible list. Generating all integer plans can dominate this evaluation; large instances need a solver or carefully bounded candidate set, plus independent feasibility checks.
Common Mistakes
- Do not call scenario values probabilities without evidence.
- Do not choose a risk rule after seeing which plan it favors.
- Do not stress only benefits while assuming review duration and capacity are fixed.
Read next
- Decision objectives: define the action before optimizing a score
- Constraint feasibility and slack: reject impossible plans early
- Integer allocation and relaxation gaps for indivisible work
- Project: allocate support reviews under capacity and uncertainty
Continue the workflow: Paired policy simulations with common random numbers.
