YANE - Short Software Guide 1.0.1

example_10_30

Implementation details of the main() function

The computing loop

The main program runs two for loops for the variable/s

The command

        sqpSpecify->setMaxIterations ( maxiter );

causes the optimization method to accept this new value.

Computing the closed loop cost

To compute the closed loop cost the double arrays trajectory and valuefunction are required. Upon call of odemanager->getObjFunValues these arrays contain the open loop trajectory and the corresponding values of the cost functional for all open loop sampling instances.

Author:
Jürgen Pannek <juergen.pannek@googlemail.com>