Multiobjective genetic algorithm stopping criteria

조회 수: 3 (최근 30일)
Steven
Steven 2015년 10월 6일
답변: Alan Weiss 2015년 10월 7일
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!

채택된 답변

Alan Weiss
Alan Weiss 2015년 10월 7일
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개)

카테고리

Help CenterFile Exchange에서 Genetic Algorithm에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by