Multiple population Genetic Algorithm
조회 수: 2 (최근 30일)
이전 댓글 표시
I am using the built in GA function for optimisation with customised creation, crossover, mutation and fitness functions. I have tried 10 runs of GA separately for the same problem and the optimum results is seen to vary in each case. In few cases I have obtained the Global minimum as solution (I have tried on a problem whose global minimum solution is known to me). In other cases the solution is getting stuck at a local minimia. I would like to try a Multiple Population Genetic Algorithm to prevent it from getting stuck at a local minima. Is there a way to implement this using the built in GA function in MATLAB?
댓글 수: 0
채택된 답변
Walter Roberson
2022년 9월 14일
Sorry, No.
The internal code for unconstrained ga is able to handle "sub-populations", which for that routine is activated by the PopulationSize option being a vector of values.
However... the public ga() interface does not permit inputting a vector.
For further discussion on subpopulations, see https://www.mathworks.com/support/search.html/answers/447715-subpopulations-and-parallel-processing-in-ga.html
댓글 수: 1
Walter Roberson
2022년 9월 15일
The internal code that permits vector population size, is inside a "private" directory, and so cannot be called by functions outside the parent directory.
참고 항목
카테고리
Help Center 및 File Exchange에서 Genetic Algorithm에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!