How can i define xo or intial parameters that the ga begin with ?

1 件のコメント

John D'Errico
John D'Errico 2024 年 10 月 31 日
編集済み: John D'Errico 2024 年 10 月 31 日
What reason is there to ask the exact same question multiple times? What about the last set of answers was not sufficient?

回答 (1 件)

Aquatris
Aquatris 2024 年 10 月 31 日
編集済み: Aquatris 2024 年 10 月 31 日

0 投票

You use InitialPopulationMatrix of optimoptions. You can get more info on what options you can set for ga in here under InputArguments>options.
opts = optimoptions('ga')
opts.InitialPopulationMatrix = X0;

This question is locked.

カテゴリ

タグ

質問済み:

2024 年 10 月 31 日

Locked:

2024 年 10 月 31 日

Community Treasure Hunt

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

Start Hunting!

Translated by