Trajectory Optimization using fmincon
Afficher commentaires plus anciens
Hi everybody, I'm trying to run a trajectory optimization using the Optimization Toolbox of Matlab. My goal is to optimize the ascent trajectory of a launch vehicle (which is governed by two - or even one - simple dynamic equations) modulating a certain number of design variables in order to obtain, for example, the path which maximizes the payload, adding some constraints (e.g. on the maximum dynamic pressure).
My question is: the objective function and the constraints are not analytically expressed as functions of the design variables. Can I still use the functions provided (e.g. fmincon), maybe in an iterative process? How should I proceed?
Thanks for helping.
Réponses (1)
Andrew Newell
le 23 Mai 2011
You don't have to have an explicit expression for the objective function and constraints. If you can create a function like this:
f = myfun(x,param1,param2,...)
...
which allows a vector for x, it doesn't matter how you actually solve for f. You could solve an ode, find a root, whatever. However, if there are multiple solutions for f or you can't solve for it accurately, you have a problem.
1 commentaire
Francesco Capuano
le 23 Mai 2011
Catégories
En savoir plus sur Get Started with Optimization Toolbox dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!