View source: R/14.0-tmb-shared.R
| run_single_optimization | R Documentation |
Execute a single optimization run with specified method and parameters.
run_single_optimization(
start_par,
obj_fn,
grad_fn,
method,
lower,
upper,
max_iter,
tolerance,
verbose = FALSE,
...
)
start_par |
Starting parameter values |
obj_fn |
Objective function |
grad_fn |
Gradient function |
method |
Optimization method |
lower |
Lower bounds |
upper |
Upper bounds |
max_iter |
Maximum iterations |
tolerance |
Convergence tolerance |
verbose |
Show progress |
... |
Additional arguments |
Optimization result or NULL if failed
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.