Learn R Programming

invivoPKfit (version 2.0.1)

settings_optimx: `optimx` optimizer settings

Description

`optimx` optimizer settings

Usage

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

Value

An object of class `pk_settings`.

Arguments

method

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

itnmax

The maximum number of iterations; as in [optimx::optimx()].

hessian

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

control

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

...

Additional arguments not currently implemented.

Author

Caroline Ring