Save all the optimization results from MultiStart and Global Search
2 ビュー (過去 30 日間)
古いコメントを表示
Maria Angela Agizza
2018 年 12 月 14 日
コメント済み: Maria Angela Agizza
2019 年 3 月 20 日
Hello Matlab Community,
I have a questio about the Matlab Global Optimization features.
I would like to get, at the end of the optimization, all the solutions, also the ones with negative exit flags and respective parameters values.
I use the following syntax
[x,fval,exitflag,output,solutions] = run(...)
but I only get, in [solutions], the local minima with a positive exit flag, and I would like to check all the others as well.
Is there a way to accomplish what I need, that I have missed?
Many thanks and best regards.
0 件のコメント
採用された回答
Alan Weiss
2018 年 12 月 14 日
Sorry, no, GlobalSearch and MultiStart do not consider the points corresponding to negative local exit flags as being solutions, and so do not store them in the returned GlobalOptimSolution object.
Why do you want these points?
Alan Weiss
MATLAB mathematical toolbox documentation
3 件のコメント
Alan Weiss
2018 年 12 月 14 日
Certainly, use your output function to save the point.
Alan Weiss
MATLAB mathematical toolbox documentation
その他の回答 (1 件)
Kurt Stewart
2019 年 3 月 20 日
You can make your solutions as global variables that get saved into a matrix
参考
カテゴリ
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!