Skip to content
Prev 42451 / 398506 Next

optim function : "BFGS" vs "L-BFGS-B"

The help page for optim() says:

      Function 'fn' can return 'NA' or 'Inf' if the function cannot be
      evaluated at the supplied value, but the initial value must have a
      computable finite value of 'fn'. (Except for method '"L-BFGS-B"'
      where the values should always be finite.)

-roger
Kang.Changku at epamail.epa.gov wrote: