> J C Nash
> on Tue, 17 Apr 2018 10:18:02 -0400 writes:
> Having worked with optim() and related programs for years, it surprised me
> that I haven't noticed this before, but optim() is inconsistent in how it
> deals with bounds constraints specified at infinity. Here's an
Having worked with optim() and related programs for years, it surprised me
that I haven't noticed this before, but optim() is inconsistent in how it
deals with bounds constraints specified at infinity. Here's an example:
# optim-glitch-Ex.R
x0<-c(1,2,3,4)
fnt <- function(x, fscale=10){
yy <- len