Hi,
In the procedure MyInitializeStochasticDataCallback of the same standard example "Stochastic Programming", you need to change
RelativeScenarioWeight := BranchChance(CurrentChildBranchElem);
into something that depends on the stage, e.g.,
RelativeScenarioWeight := BranchChanceStage(t,CurrentChildBranchElem);
were you have to fill BranchChanceStage.
Best regards,
Marcel Hunting
AIMMS Software Developer