Single shooting method example

An example of solving constrained optimization problem with single shooting method.
435 téléchargements
Mise à jour 14 avr. 2017

Afficher la licence

% 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;

Citation pour cette source

Vinh Nguyen (2026). Single shooting method example (https://fr.mathworks.com/matlabcentral/fileexchange/62564-single-shooting-method-example), MATLAB Central File Exchange. Extrait(e) le .

Compatibilité avec les versions de MATLAB
Créé avec R2014a
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS Linux
Catégories
En savoir plus sur Nonlinear Optimization dans Help Center et MATLAB Answers
Version Publié le Notes de version
1.0.0.0