Skip to content
Prev 206105 / 398503 Next

optim: abnormal termination in lnsrch (resend)

[sorry, forgot some details...]

I'm using optim(param, fun, method='L-BFGS-B', lower=lo, upper=up) to 
minimize a certain function.
Often the minimization ends with the message:
ERROR: ABNORMAL_TERMINATION_IN_LNSRCH

What is optim() trying to say?
What have I to change in my function to make the minimization succeed?
Do you think using BBoptim() instead of optim() changes anything?

Thanks for your help!
			mario