Multiple shooting method example
Version 1.0.0.0 (2.96 KB) by
Vinh Nguyen
Solving constrained optimization with multiple shooting method
% This code demonstrates an example of solving constrained optimization problem
% with multiple 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;
Cite As
Vinh Nguyen (2024). Multiple shooting method example (https://www.mathworks.com/matlabcentral/fileexchange/62727-multiple-shooting-method-example), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2014a
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
Find more on Nonlinear Optimization in Help Center and MATLAB Answers
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |