Multistart maxtime never exceeded
显示 更早的评论
I have been trying to do a nonlinear parameter estimation using lsqnonlin. To get my cost function, I generate measurements, solve an ODE to get my model output and then compute the residuals.
I am using a parallelised MultiStart with 100 different initial points and a matlabpool of size 10. As sometimes my parameters are far from the optimum, ode45 and/or lsqnonlin may take too much time to converge and I decided to set a MaxTime for MultiStart.
The problem is that even when I set a MaxTime of 200s, there are times when it really stops but other times it just hangs indefinitely, even after a walltime of 200s has already gone.
Do you have any idea what could be the problem here? I am running this on a cluster.
采纳的回答
更多回答(1 个)
Marcelo Silva
2013-3-7
0 个投票
1 个评论
Alan Weiss
2013-3-7
Excellent! Thanks for letting us know. I'm glad things are working for you.
If you think my answer helped, please accept it.
Alan Weiss
MATLAB mathematical toolbox documentation
类别
在 帮助中心 和 File Exchange 中查找有关 Solver Outputs and Iterative Display 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!