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

8 visualizaciones (últimos 30 días)
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.

Respuesta aceptada

Sean de Wolski
Sean de Wolski el 20 de Jul. de 2012

Más respuestas (0)

Categorías

Más información sobre MATLAB en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by