I have a nonlinear dynamical model that is described by ordinary differential equation in the form of
X'(t)= F(X,U); where X is the states and U is the control input.
- I have constraints on the states and the controls
- I would like to use optimal control theory to find the optimal control actions given those constraints.
- I am using the Pontryagin Minimun Principle
- I defined my cost function, Hamiltonian, and the co-state dynamical equations
- They are complex/coupled that they cannot be solved analytically
- I have Initial and final conditions on the states, X.
- I don't have final time (i.e. free-terminal-time)
So, I am looking for numerical algorithms that can be implemented, for example,, in MATLAB or C++ in order to find the optimal control, efficiently.