Trajectory Optimization using fmincon

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.

回答(1 个)

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 个评论

Dear Andrew,
thanks for your answer. I got your tip and now I know how to proceed.

请先登录,再进行评论。

类别

帮助中心File Exchange 中查找有关 Get Started with Optimization Toolbox 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by