optimGenoud | R Documentation |
For minimization, this function uses the "genoud"
method from the
codergenoud package. It is basically a wrapper, to enable genoud for usage
in SPOT.
optimGenoud(x = NULL, fun, lower, upper, control = list(), ...)
x |
optional start point, not used |
fun |
objective function, which receives a matrix x and returns observations y |
lower |
boundary of the search space |
upper |
boundary of the search space |
control |
list of control parameters
|
... |
passed to |
list, with elements
x
NULL, currently not used
y
NULL, currently not used
xbest
best solution
ybest
best observation
count
number of evaluations of fun
res <- optimGenoud(,fun = funSphere,lower = c(-10,-20),upper=c(20,8)) res$ybest
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.