Mutation function with integer variables GA
显示 更早的评论
Hi, I'm trying to use ga function. But I'm having trouble because i can't change parameter in the mutation function (gets override if i change something) Does Someone know any trick to deal with it? Best regards,
采纳的回答
更多回答(2 个)
Ian Bortolotti Gomes
2018-8-23
编辑:Ian Bortolotti Gomes
2018-8-23
0 个投票
Hello,
I am running an optimization problem with integer variables to which I know there are better global minimums than what the ga function is finding. I have already changed the generations and stall stopping criteria, but in every run, the algorithm finds different local minimum, gets stuck with it neglects the other possible minimums. I watch the best individual plot while it is running and can see this happening.
My guess is that mutations aren't happening often enough.
Is there any way to solve this? Is this just the case to increase even more the generations and stall stopping criteria?
Regards, Ian
类别
在 帮助中心 和 File Exchange 中查找有关 Genetic Algorithm 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!