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

8 vues (au cours des 30 derniers jours)
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.

Réponse acceptée

Sean de Wolski
Sean de Wolski le 20 Juil 2012

Plus de réponses (0)

Catégories

En savoir plus sur MATLAB dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by