Optimization Problem using fminunc
2 次查看(过去 30 天)
显示 更早的评论
Does anyone know how to solve this problem?
Local minimum possible.
fminunc stopped because it cannot decrease the objective function
along the current search direction.
<stopping criteria details>
0 个评论
回答(1 个)
John D'Errico
2019-1-21
Why is it a problem?
You are trying to minimize a function. fminunc stopped, having told you that is cannot go any further, because it cannot decrease the function from where it stopped. That sounds like success to me. At least, it MIGHt be success.
Does the resulting solution not make sense to you? That might be indicative that you chose poor starting values. Or it might indicate your objective function was written improperly, and you are minimizing the wrong thing.
But we have no real indication there is any problem at all.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Surrogate Optimization 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!