How to Find Multiple Minima of Objective Function from Genetic Algorithm?
이전 댓글 표시
When using genetic algorithm to find global minimum of objective function, algorithm gives only the best result (smallest value of objective function it found). Is it possible for genetic algorithm to give multiple best local minima it found? In my problem, I would like to get approximately best 100 results and to sort them by the value of objective function.
답변 (1개)
You can call ga() with more output arguments to obtain the final population and their scores,
[x,fval,exitflag,output,population,scores] = ga(___)
카테고리
도움말 센터 및 File Exchange에서 Genetic Algorithm에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!