Table I.
1 | Initialization: j = 0 |
(a) | Set the convergence tolerance εj. |
(b) | Choose initial control trajectory , where τ ∊ [t0, T]. |
(c) | Integrate the system dynamics forward in time to solve for given and , where τ ∊ [t0, T]. |
2 | Gradient Step: |
(d) | Integrate backward in time to solve for the costates λ(j) (τ) where is the terminal condition. |
(e) | Compute the search direction, , from the Hamiltonian |
(f) | Compute the step size,
|
(g) | Compute the new control trajectory
, |
(h) | Integrate the system dynamics forward in time (h1) solve for
given
, (h2) evaluate the cost function · |
(i) | Check Quit Conditions(i1) quit if
, (i2) quit if j has exceeded the max iteration limit, Nt, (i3) otherwise set j = j + 1 and reiterate gradient step from (a). |