Text this: Optimal Control and Optimization of Stochastic Supply Chain Systems