danielrherber / optimal-control-direct-method-examples

Teaching examples for three direct methods for solving optimal control problems namely single shooting, single step, and pseudospectral.
BSD 3-Clause "New" or "Revised" License
43 stars 16 forks source link

README (optimal-control-direct-method-examples)

GitHub release license

GitHub contributors Gitter chat

Teaching examples for three direct methods for solving optimal control problems, namely single shooting, single step, and pseudospectral.

readme_image.svg


Install

External Includes

See INSTALL_Direct_Method_Examples.m for more information

MATLAB Version

The main methods should work on version R2014b or newer. Method_DTQPProject.m requires version R2016a or newer. Some of the plot decorations require newer versions that support structure properties in figures. The Optimization Toolbox is required.


Bryson-Denham Problem

This is the optimal control problem used in the examples. The problem formulation is:

bd_formulation.svg

The optimal control solution when \ell is between 0 and 1/6 is:

bd_solution.svg

Please see the following files that calculate the optimal states and control. See pages 120–123 of A. E. Bryson and Y.-C. Ho, Applied Optimal Control, revised printing ed. Taylor & Francis, 1975 for more details on this problem.


General Information

Contributors

Project Links