Title: Flexible and Generalized Uncertainty Optimization