フィルターのクリア

Multiple population Genetic Algorithm

2 ビュー (過去 30 日間)
Hari
Hari 2022 年 9 月 14 日
コメント済み: Walter Roberson 2022 年 9 月 15 日
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?

採用された回答

Walter Roberson
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.
  1 件のコメント
Walter Roberson
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.

サインインしてコメントする。

その他の回答 (1 件)

Sam Chak
Sam Chak 2022 年 9 月 14 日
You can try specifying the Population Options in optimoptions().
opts = optimoptions(@ga, 'PlotFcn', {@gaplotbestf, @gaplotstopping});
opts.PopulationSize = ... ;
opts.InitialPopulationRange = ... ;

カテゴリ

Help Center および File ExchangeGenetic Algorithm についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by