genetic algorithm optimisation toolbox

thank you for this site,I want to optimize this problem whit genetic algorithm and i have thirty eight variable also this problem have two goal.When i start the algorithm show a error "your function must return to Scalar value" what should i do?

 Respuesta aceptada

Alan Weiss
Alan Weiss el 3 de Abr. de 2019

1 voto

If you have a multiobjective function, then use gamultiobj instead of ga.
Alan Weiss
MATLAB mathematical toolbox documentation

Más respuestas (1)

Harvey  De Leon
Harvey De Leon el 3 de Abr. de 2019

0 votos

can I see your Genetic Algorithm function and the corresponding inputs?

Etiquetas

Preguntada:

el 3 de Abr. de 2019

Comentada:

el 5 de Abr. de 2019

Community Treasure Hunt

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

Start Hunting!

Translated by