Optimization and Control with Applications door