Dynamic and Stochastic Planning Problems with Online Decision Making door