Multiobjective genetic algorithm stopping criteria
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Steven
el 6 de Oct. de 2015
Respondida: Alan Weiss
el 7 de Oct. de 2015
Hi,
I want to optimize an objective function which returns 3 values [y(1), y(2), y(3)] using gamultiobj toolbox. I set up the code and the simulation runned fine. However, I could not find a way to set a stopping criteria such as : y(1) < -10, y(2) < -5, y(3) < -60, because the fitness limit only takes scalar values. Do you know how to overcome this problem and make the simulation stops if all three conditions are satisfied ? Something like
options = gaoptimset;
options.FitnessLimit = [-10; -5; -60];
Thank you!
0 comentarios
Respuesta aceptada
Alan Weiss
el 7 de Oct. de 2015
You can stop gamultiobj at any point using an output function. To stop the iterations, set state.StopFlag to a nonempty string.
Alan Weiss
MATLAB mathematical toolbox documentation
0 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Genetic Algorithm 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!