- It starts with a starting point you seed, called x0 and runs the solver.
- It looks to see how far the solver moved from x0 to find the end point; this creates a "basin" in which the solution it found should "attract" starting points. Basically, points inside this basin should move to the end point it founds. This first run determines the guess for the basin size.
- It then generates a bunch of test points, randomly around the solution space, then uses the basin size it found earlier to make a basin. It also assigns to all the points a "score" based on the objective function and constraints.
- It then iteratively runs trial points outside the basins to try and basically block out all of the solution space into a series of basins with an optimal point in them. It also adjusts the basin size at this point, if necessary.
- Imagine picking points in the space, then seeing where the solver goes and drawing a circle about that distance from the solution. Do this over and over again under your whole space is filled with circles.
How GlobalSearch optimization method works?
2 次查看(过去 30 天)
显示 更早的评论
采纳的回答
jgg
2016-2-23
编辑:jgg
2016-2-23
Basically, GlobalSearch takes a problem you've defined, which consists of an objective function and a solver, then repeatedly runs the solver on a larger number of points. Suppose your solver is called solver (it could be fmincon or fminsearch or whatever):
The "solution" it finds is basically the best point in the best basin at the end of the day.
2 个评论
Alan Weiss
2016-2-23
jgg described the MultiStart algorithm pretty well, though there are restrictions on which local solver MultiStart can run.
GlobalSearch works a bit differently. It uses the fmincon solver only, and takes a lot of care to run only those trial points that it thinks have a chance of leading to a better final value. For details, see the algorithm descriptions.
Alan Weiss
MATLAB mathematical toolbox documentation
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Global or Multiple Starting Point Search 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!