Interactions of Uncertainty and Optimization: Theory, Algorithms, and Applications to Chemical Site Operations