How can I use gamultiobj for optimizing a function with parameters besides the gamultiobj parameters?

Hi.
I'm trying to use gamultiobj to optimize a function, but I need to pass the function parameters too, besides gamultiobj's parameters.
The function I need to optimize is func
[J,a,b,s,h,g]=func(theta,y,u,smin,smax,level);
But, first I need gamultiobj to find the array theta from a theta0 vector.
When I used a mono objective function I used fminsearch in this way:
theta=fminsearch(@func,theta0,optimset,y,u,smin,smax,level); It worked well.
Note that I need to pass the parameters theta0, y, u, smin, smax and level to gamultiobj too.
Thanks.
Marco.

更多回答(0 个)

类别

帮助中心File Exchange 中查找有关 MATLAB 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by