MDP modeling for multi-stage stochastic programs | Synapse