This package implementats a finite-horizon non-linear controller that uses sequential dynamic programming.
The included Python notebook explains the problem and its solution.
To run the code, you'll need to install the following python packages: matplotlib
, cvxpy
, numpy
, and scipy
. The animations in the notebook look a lot better with IPython Notebook than the NBviewer link above. For that, you'll need to install IPython.