Patter search optimization, not getting fittest solution
显示 更早的评论
Have adapted a code a GA code to run with PS but it get to a solution after a few iterations and can not find a fitter solution. I can manually find better solution by changing around the variable.
Keeps on refining the mesh without finding a better solution:
48 393 36176.4 9.537e-07 Refine Mesh Optimization terminated: mesh size less than options.TolMesh.
回答(1 个)
Alan Weiss
2015-1-30
I suggest that you put finite bounds on each variable, lb and ub. Then start your optimization at several random initial points:
x0 = lb + rand(size(lb)).*(ub - lb);
Alan Weiss
MATLAB mathematical toolbox documentation
2 个评论
Mo
2015-2-2
Alan Weiss
2015-2-3
What I mean is, give points one at a time as you run the optimization multiple times.
Alan Weiss
MATLAB mathematical toolbox documentation
类别
在 帮助中心 和 File Exchange 中查找有关 Problem-Based Optimization Setup 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!