Optimization-Based Control - Control and Dynamical Systems