Info

This question is locked. 请重新打开它进行编辑或回答。

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

21 次查看(过去 30 天)

回答(1 个)

Aquatris
Aquatris 2024-10-31,8:09
编辑:Aquatris 2024-10-31,8:10
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.

类别

Help CenterFile Exchange 中查找有关 Surface and Mesh Plots 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by