Simple internal function to check that the optimisation didn't hit bounds.
Based on code that used to live in detfct.fit.opt
.
check.bounds(lt, lowerbounds, upperbounds, ddfobj, showit, setlower, setupper)
TRUE
if parameters are close to the bound, else FALSE
optimisation object
current lower bounds
current upper bounds
ddf object
debug level
were lower bounds set by the user
were upper bounds set by the user
Dave Miller; Jeff Laake