/direct-method-for-optimal-control

4 direct numerical methods of solving optimal control.

Primary LanguageMATLABMIT LicenseMIT

@Author: Lei Lie

@E-mail: lordofdapanji@foxmail.com

该仓库包含了四种求解最优控制问题的数值法代码,分别是:

  • 梯度法;
  • 打靶法;
  • 多重打靶法;
  • 伪谱法。

可以对照我写的五篇技术博客来看,这五篇博客详细地介绍最优控制问题的定义,以及四种数值法的原理,分别是:

希望这些文章和代码可以帮助到你,也可以点颗星星支持一下这个项目。

This repository includes 4 types codes of solving optimal control problem (OCP), that is:

  • gradient method,
  • shooting method,
  • multiple shooting method,
  • pseudospectral method.

You can read these 5 bolgs. The definition of OCP and the principles of 4 numerical method are decribed in detailed, that is:

Hope these bolgs and codes help you a lot.

And maybe you can star this project?