ddd_optimizer | R Documentation |
See DDD::optimizer()
documentation. I have frozen argument optimmethod
to subplex
, and added an early exit if the first subplex cycle evaluates
to -Inf
.
ddd_optimizer(
optimpars = c(1e-04, 1e-04, 1e-06, 1000),
num_cycles = 1,
fun,
trparsopt,
...
)
optimpars |
Parameters of the optimization: relative tolerance in function arguments, relative tolerance in function value, absolute tolerance in function arguments, and maximum number of iterations |
num_cycles |
Number of cycles of the optimization. When set to Inf, the optimization will be repeated until the result is, within the tolerance, equal to the starting values, with a maximum of 10 cycles. |
fun |
Function to be optimized |
trparsopt |
Initial guess of the parameters to be optimized |
... |
Any other arguments of the function to be optimimzed, or settings of the optimization routine |
out |
A list containing optimal function arguments
( |
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.