_12. Dynamic and stochastic optimization