Labfans是一个针对大学生、工程师和科研工作者的技术社区。 | 论坛首页 | 联系我们(Contact Us) |
![]() |
![]() |
#1 |
初级会员
注册日期: 2012-12-29
帖子: 1
声望力: 0 ![]() |
![]()
遗传算法出现的问题:我设置ga中的参数: ff=gaoptimset('PopulationSize',20,'EliteCount',4,'Generations',50,'StallGenLimit',50};
问题1:迭代代数设置了50,为什么结果output1中显示只运行了一次呢?? output1 = problemtype: 'nonlinearconstr' rngstate: [1x1 struct] generations: 1 funccount: 1066 message: 'Optimization terminated: no feasible point found.' maxconstraint: 11.251651588251741 问题2:我的未知优化参数是24个,应该设置怎样的种群规模、迭代次数、交叉概论等参数呢??(用的是GA自带的工具箱) |
![]() |
![]() |