Stochastic programming — Parts I and II