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

4 Ansichten (letzte 30 Tage)
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.

Akzeptierte Antwort

Sean de Wolski
Sean de Wolski am 20 Jul. 2012

Weitere Antworten (0)

Kategorien

Mehr zu MATLAB finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by