Patter search optimization, not getting fittest solution
1 view (last 30 days)
Show older comments
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.
0 Comments
Answers (1)
Alan Weiss
on 30 Jan 2015
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 Comments
Alan Weiss
on 3 Feb 2015
What I mean is, give points one at a time as you run the optimization multiple times.
Alan Weiss
MATLAB mathematical toolbox documentation
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!