GA optimization problem, terminate before stall limit
13 次查看(过去 30 天)
显示 更早的评论
The solution can be seen to be improving but it terminates before the generation or stall limit. Can find a better solution manually by trial and error.
0 个评论
采纳的回答
Alan Weiss
2015-1-14
You can set larger values for various stopping criteria, such as Generations or StallGenLimit. Or you could do yourself a favor and try using patternsearch instead of ga. patternsearch is usually faster and more reliable, and is easier to tune. If you need to start from a wide variety of initial points, and you have finite bounds on all components, try
x0 = lb + rand(size(lb)).*(ub - lb);
Alan Weiss
MATLAB mathematical toolbox documentation
0 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Genetic Algorithm 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!