How can i define xo or intial parameters that the ga begin with ?
情報
This question is locked. 編集または回答するには再度開いてください。
古いコメントを表示

1 件のコメント
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 件)
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;
0 件のコメント
This question is locked.
カテゴリ
ヘルプ センター および File Exchange で Surrogate Optimization についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!