In this example, we determine the optimum amount of gasoline to transport between different levels of a gasoline supply chain. Our objective is to minimize the total cost, which includes transportation costs and inventory holding costs at various points in the supply chain. We also want to minimize stockouts at various retail outlets. The complexity of the problem arises from the fact that we have stochastic production at the refinery level and stochastic demand at the retail outlet level.