A framework for modeling and optimizing dynamic systems under uncertainty. (9th June 2018)