MATLAB gaot遗传算法工具​箱的交叉概率和变异概​率如何设置?。

[z,enpop,bpop,trace]=gaot_ga(ones(2,1)*[-5,5],'fitness2',[],pop,...
[1e-6,1,0],'maxGenTerm',25,'normGeomSelect',0.08,'arithXover',2,'multiNonUnifMutation',[2 25 3]);
一是我不太清楚能否通过设置红色标志的数字来修改交叉概率和变异概率,二是我看到之前的一些帖子说可通过gaoptimset函数来修改,但我没有在该函数程序中发现这两个概率的位置,在此希望高人指点,不胜感激

 Accepted Answer

seahdxu
seahdxu on 22 May 2023

0 votes

gaoptimset是MATLAB自己的优化工具箱中ga函数的选项调整设定函数,跟你用的那个第三方自己写的工具箱是两码事,没法混用的(用前朝的剑斩本朝的官,不行的)
至于gaot_ga函数,显然得去看这个工具箱的开发者写的说明文档,别人没文档也不知道作者到底怎么设计各个参数的调用和功能的。

More Answers (0)

Categories

Find more on Just for fun in Help Center and File Exchange

Tags

Asked:

on 22 May 2023

Answered:

on 22 May 2023

Community Treasure Hunt

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

Start Hunting!