A framework for finding robust optimal solutions over time