Optimizers
optimizers.Rd
These functions return optimizers that meet requirements for the
OPTIM_FUN
input argument of fit_c3_aci
,
fit_c3_variable_j
, and fit_c4_aci
. Essentially,
they are wrappers for optimizers from other libraries that serve to
standardize their inputs and outputs.
Usage
optimizer_nmkb(tol, maxfeval = 2000, restarts.max = 10)
optimizer_hjkb(tol, maxfeval = Inf, target = Inf)
optimizer_deoptim(itermax, VTR = -Inf)
Arguments
- tol
A convergence tolerance value; to be passed to
nmkb
orhjkb
via theircontrol
input arguments. A typical value is1e-7
.- maxfeval
A maximum value for the number of function evaluations to allow during optimization; to be passed to
nmkb
orhjkb
via theircontrol
input arguments.- target
A real number restricting the absolute function value; to be passed to
hjkb
via itscontrol
input argument.- restarts.max
A maximum value for the number of restarts allowed during optimization; to be passed to
nmkb
via itscontrol
input argument.- itermax
The maximum number of generations to be used; to be passed to
DEoptim
via itscontrol
input argument. Note that whenVTR
is-Inf
, the optimizer will always use the maximum number of generations. A typical value is200
.- VTR
The value to be reached; to be passed to
DEoptim
via itscontrol
input argument.