This example has the same data as Example 4 except for Figure 9 indicates that the optimal control is bang-bang and satisfies the switching conditions inferred from (2.22),
SNOPT fails for larger while LANCELOT needs excessive compute time. Figure 10 shows the associated adjoint variable and switching function.
|