- 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?
6 ビュー (過去 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!