Currently only with alabama::auglag
with either nlminb
or optim
in the case of constrained optimization and nlminb
if there are no constraints.
optim_tramTMB(
obj,
par = NULL,
method = "nlminb",
control = list(),
trace = FALSE,
ntry = 5,
scale = TRUE,
...
)
a tramTMB object
optional vector of initial parameter values
the method used by alabama::auglag
a list of control parameters
logical, whether the trace should be printed during the optimization
number of restarts with perturbed initial values when not converged
Logical, if TRUE
, the fixed effects design matrices are scaled
to improve convergence
optional arguments, currently not in use