Is there any way to limit the resolution time to lsqnonlin?
2 次查看(过去 30 天)
显示 更早的评论
I have a "while" cycle that execute a optimization using lsqnonlin, the problem is that in some iterations it can't solve the system, showing the following:
"Warning: Reached the limit on the maximum number of intervals in use. Approximate bound on error is 3.1e+01. The integral may not exist, or it may be difficult to approximate numerically to the requested accuracy."
It sometimes happen by hours, so I want to know if is there any way to limit the resolution time to lsqnonlin or a way to follow with the next iteration? (I do not care if I do not get a solution for this iteration)
0 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!