force fsolve termination if not progressing
1 次查看(过去 30 天)
显示 更早的评论
Hi.
I'm running repeated fsolves. With bad starting points, the engine goes nowhere. I can see this looking at the output when Display is set to iter: norm of step keeps shrinking and f fails to improve. Is there a way to pass the information that Display('iter') uses to the "myfun" workspace (i.e., the function that I'm trying to solve), thus allowing me to measure if I'm making no progress and then terminate? I could of course hack into fsolve but but obviously would prefer not to if I don't have to.
0 个评论
采纳的回答
更多回答(0 个)
另请参阅
类别
在 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!