View source: R/14.0-tmb-shared.R
| run_robust_optimization | R Documentation |
Advanced optimization routine with automatic fallback strategies, multiple starting points, and comprehensive error handling. Works for both basic and hierarchical models.
run_robust_optimization(
obj,
method = "nlminb",
lower = NULL,
upper = NULL,
max_iter = 1000,
tolerance = 1e-06,
n_restarts = 3,
verbose = FALSE,
...
)
obj |
TMB objective function |
method |
Primary optimization method ("nlminb" or "optim") |
lower |
Lower parameter bounds (log scale) |
upper |
Upper parameter bounds (log scale) |
max_iter |
Maximum iterations |
tolerance |
Convergence tolerance |
n_restarts |
Number of random restarts if primary fails |
verbose |
Show optimization progress |
... |
Additional arguments passed to optimization function |
Optimization result list
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.