Comparison of multistage stochastic programming and stochastic dynamic programming with discrete time.