How to force FMINCON to explore a certain range
1 回表示 (過去 30 日間)
古いコメントを表示
Laurence hutton-smith
2015 年 8 月 28 日
回答済み: John D'Errico
2015 年 8 月 28 日
I am attempting to get fmincon to fit a solution of an ODE to experimental data, based upon a two parameters x and y, where x lies in the region [0,10]. My original guess for x is 7.5, however sometimes FMINCON totally misses the correct minimisation because it doesn't vary x enough, how can I force it to explore this range of [0,10] properly?
0 件のコメント
採用された回答
John D'Errico
2015 年 8 月 28 日
No, you cannot force fmincon to fully explore a domain. fmincon is not a global optimizer. It is a local optimizer, that starts from your starting point. If your start point is poor, or the objective is poorly conditioned around there, it will have problems. So get a better starting point!
You can also use multiple random starts, starting it from a set of points. Then take the best result from the set of results.
0 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Get Started with Optimization Toolbox についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!