Skip to content
Prev 13786 / 398506 Next

Error in optim(p, fun,...)

All:

	I am getting an error code from the optimization function.  The code is

Error in optim(p,fun.LLike, lower=low, upper = up, method = "L-BFGS-B", :
          non-finite finite-difference value [0]

If I add a trace=6 option to my control list the last message before 
this error is:
          At X0, 0 variables are exactly at the bounds

Any ideas on where I should start would be appreciated.  Tony