Stochastic production-inventory control problem with random demancl