fminunc with quasi-Newton algorithm giving unexpected results
2 ビュー (過去 30 日間)
古いコメントを表示
MathWorks Support Team
2018 年 6 月 25 日
回答済み: MathWorks Support Team
2018 年 6 月 25 日
Why am I getting unexpected results and exitflag = 5 with "fminunc" quasi-Newton algorithm?
採用された回答
MathWorks Support Team
2018 年 6 月 25 日
Double check that the "fminunc" function is correct. Small errors in the function to minimize could cause for very unexpected results.
Additionally, setting 'SpecifyObjectiveGradient' to true and defining a gradient function might drastically improve your solution.
Please see the following link for information on defining a gradient for the objective function:
0 件のコメント
その他の回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!