I am working with big and complex function. I am using optim
to estimate the model parameters. I see from the iteration values of optim
, it does not converge even if the current and last values are very close.
For example,
iteration 10 400.0091
iteration 20 400.0092
iteration 30 400.0093
:
:
keep going, say for iteration 1200.
So how can I change the convergence round of the optim
that is, if the current iteration is very close to previous iteration then converge.