![]() |
遗传算法工具箱迭代次数结果只有一次,而想要运行50次的,怎么回事??
遗传算法出现的问题:我设置ga中的参数: ff=gaoptimset('PopulationSize',20,'EliteCount',4,'[COLOR="red"]Generations[/COLOR]',50,'StallGenLimit',50};
[COLOR="Red"]问题1[/COLOR]:迭代代数设置了50,为什么结果output1中显示只运行了一次呢?? output1 = problemtype: 'nonlinearconstr' rngstate: [1x1 struct] [COLOR="red"] generations: 1[/COLOR] funccount: 1066 message: 'Optimization terminated: no feasible point found.' maxconstraint: 11.251651588251741 [COLOR="red"]问题2:[/COLOR]我的未知优化参数是24个,应该设置怎样的种群规模、迭代次数、交叉概论等参数呢??(用的是GA自带的工具箱) |
所有时间均为北京时间。现在的时间是 21:26。 |
Powered by vBulletin
版权所有 ©2000 - 2025,Jelsoft Enterprises Ltd.