run_g3_optim | R Documentation |
Wrapper for g3_optim. This is an internal function used by the g3_* functions
run_g3_optim(
model,
params,
use_parscale,
method,
control,
serial_compile,
mc.cores,
...
)
model |
Either a g3 model of class 'g3_cpp', i.e., model <- gadget3::g3_to_tmb(actions), or an objective function from gadget3::g3_tmb_adfun(model, param) |
params |
A list of parameter templates for a g3_cpp classed model. |
use_parscale |
Should parscale be used g3_tmb_parscale(params), see |
method |
The optimisation method, see |
control |
List of control options for optim, see |
serial_compile |
g3_tmb_adfun will be run in serial mode (i.e., not in parallel), potentially helping with memory issues |
mc.cores |
number of cores used, defaults to the number of available cores |
... |
Further arguments to be passed gadget3::g3_tmb_adfun, see |
A g3_cpp parameter template with optimised values
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.