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!