Optimal Control and Optimization of Stochastic Supply Chain Systems door