Single shooting method example
版本 1.0.0.0 (2.6 KB) 作者:
Vinh Nguyen
An example of solving constrained optimization problem with single shooting method.
% This code demonstrates an example of solving constrained optimization problem
% with single shooting method.
% Constrained Optimization Problem:
% minimize L = 1/2 * integral_from_t0_to_T of (u.^2)
% Subject to: x_dot = (x2; u); with x = (x1, x2)
% initial value x(0) = (0; 1);
% final value x(T) = (0; -1);
% inequality constraint: x1 < 1/9;
引用格式
Vinh Nguyen (2024). Single shooting method example (https://www.mathworks.com/matlabcentral/fileexchange/62564-single-shooting-method-example), MATLAB Central File Exchange. 检索时间: .
MATLAB 版本兼容性
创建方式
R2014a
兼容任何版本
平台兼容性
Windows macOS Linux类别
在 Help Center 和 MATLAB Answers 中查找有关 Nonlinear Optimization 的更多信息
标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!版本 | 已发布 | 发行说明 | |
---|---|---|---|
1.0.0.0 |