Research Article

Calculus of Variations and Nonlinear Optimization Based Algorithm for Optimal Control of Hybrid Systems with Controlled Switching

Figure 4

Control input and optimal state trajectory.