Learn R Programming

invivoPKfit (version 2.0.2)

settings_optimx: `optimx` optimizer settings

Description

`optimx` optimizer settings

Usage

settings_optimx(
  method = c("bobyqa", "L-BFGS-B"),
  hessian = FALSE,
  control = list(kkt = FALSE, maxit = 1e+07),
  ...
)

Value

An object of class `pk_settings`.

Arguments

method

The name(s) of optimization methods to be used. See [optimx::opm()] for options. Default is `"bobyqa"` and `"L-BFGS-B"`.

hessian

Whether to compute the Hessian at the final set of parameters; as in [optimx::opm()].

control

A list of control parameters for the optimizer; see [optimx::opm()] for options and details.

...

Additional arguments not currently implemented.

Author

Caroline Ring