A Multi-period supply planning problem for managing stochastic demand