fminunc with quasi-Newton algorithm giving unexpected results
1 次查看(过去 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 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Multidimensional Arrays 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!