8. Stochastic programming Flashcards
How can we deal with uncertainty?
- Sensitivity analysis
- What-if analysis
- Scenario analysis
- Stress tests
Fig. example stochastic modell
Stochastic programming models
- parameters may be uncertain
- probability distribution of random parameters is assumed to be known
- two-stage recourse model:
1. First-stage decisions (x) to be taken before the random parameter realizes
2. Random parameter realization (ξ(ω))
3. Second-stage decisions (y(ω, x)) to be taken after the random parameter realization
Fig. scenario tree (ex. 3-2-3)
Fig. scenario tree (ex. 3-1-1)
How to generate scenarios?
- Historical data
- Simulation based on a mathematical/statistical model
- Expert opinion (subjective)
- A combination of the above options
How to generate scenarios?
- Historical data
- Simulation based on a mathematical/statistical model
- Expert opinion (subjective)
- A combination of the above options
Steps to deal with uncertainty
1 Decision model and stochasticity
2 Scenario tree
3 SP model
How many scenarios to consider to satisfy the stability requirement?
1 In-sample stability analysis
2 Out-of-sample stability analysis
In-sample stability analysis steps
1 Generate K scenario trees of different types and sizes
2 Solve the SP for different scenario trees and obtain solutions x∗_k,z∗_k, k = 1, . . . ,K
3 Select the smallest scenario cardinality on which the objective function value becomes stable
Out-of-sample stability analysis
evaluate how the solutions obtained through the in-sample stability analysis perform in the benchmark scenario tree
Steps:
- For each scenario tree k ∈ K:
1. Get the optimal values for the decision variables x_k obtained in tree k
2. Evaluate how this solution x_k performs in the SP with the benchmark scenario tree (it requires setting x = x*_k in SP)
- Select the smallest cardinality converging to the “true” (the one of the benchmark tree) solution
Expected value of perfect information (EVPI)
measures the maximum amount a decision-maker would be ready to pay for complete information about the future
EVPI = SP − WS (WS - SP if maximization problem)
Here-and-now solution
optimal objective function value of the SP
Wait-and-see solution (WS)
solution we would get if we could postpone
the decision in the future
1. Solve a SP for each scenario
→ Obtain the optimal decision variables values x(ξ) and objective function values z(x(ξ), ξ))
2. Take the expected value of the optimal objective function values
Value of stochastic solution (VSS)
advantage a decision-maker gets by solving a stochastic program instead of a deterministic one
VSS = EEV − SP (SP - EEV if maximization problem)