Description Usage Arguments Details Value Author(s) See Also Examples
A routine to call a variety of global optimization methods through a single syntax. The structure is intended to be extensible.
1 2 3 |
fn |
Nonlinear objective function that is to be optimized. A scalar function that takes a real vector as argument and returns a scalar that is the value of the function at that point. |
lb |
Lower bounds on the parameters. A vector of the same length as the parameters. If a single value is specified, it is assumed that the same bound applies to all parameters. The starting parameter values must lie within the bounds. |
ub |
Upper bounds on the parameters. A vector of the same length as the parameters. If a single value is specified, it is assumed that the same bound applies to all parameters. The starting parameter values must lie within the bounds. |
x0 |
Starting vector of parameter values. For some methods, this is optional. |
method |
A character string specifying the solver to be applied. Current options are "deoptim", "ga", "soma", and "smco". |
type |
A characterization of the function that may be needed by some methods. ?? is this used? |
minimize |
TRUE (default) if the function is to be minimized. |
control |
A list of control parameters. See Details for more information. |
... |
Additional arguments passed to |
Argument control
is a list specifing changes to default values of
algorithm control parameters.
If the minimization process threatens to go into an infinite loop, set
either maxfeval
or target
.
A list with the following components:
xmin |
Best estimate of the parameter vector found by the algorithm. |
fmin |
value of the objective function at termination. |
Hans W Borchers <hwborchers@googlemail.com> and John C. Nash <nashjc@uottawa.ca>.
1 | ## See the tests directory and the vignettes.
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.