Multiple solutions using fsolve and fmincon

7 ビュー (過去 30 日間)
Usman Hamid
Usman Hamid 2020 年 6 月 24 日
コメント済み: Usman Hamid 2020 年 6 月 26 日
I used four known parameters (origional parameters) and performed some calculations using fsolve and fmincon to fit the data (final data set) and it works very well. Then, I came across the data (final data set) where I don't know the origional parameters but know the final data set. I tried to optimize the origional parameters using fmincon so that I can get unique solution but unsuccessful.
I am getting different answers if I provide different inital guess. Please assist me if I can solve this problem.
  4 件のコメント
Walter Roberson
Walter Roberson 2020 年 6 月 25 日
Optimization terminated: average change in the fitness value less than options.FunctionTolerance.
There can be more than one reason to get that message, but the major reason is that it is unable to find a nearby location with lower value -- that is, that it has found a local minima (that might or might not be a global minima.)
You can set the Display option to 'none' to supress the message.
Be sure to check the exit flag.
Usman Hamid
Usman Hamid 2020 年 6 月 26 日
Thank you for the response. ga model was taking too long to optimize the one variable at one point. It was helpfull to figure out the problem and resolve the error.

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeSolver Outputs and Iterative Display についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by