powered by
For minimization, this function uses the "genoud" method from the codergenoud package. It is basically a wrapper, to enable genoud for usage in SPOT.
"genoud"
optimGenoud(x = NULL, fun, lower, upper, control = list(), ...)
optional start point, not used
objective function, which receives a matrix x and returns observations y
boundary of the search space
list of control parameters
funEvals
Budget, number of function evaluations allowed. Default is 100.
populationSize
Population size, number of individuals in the population. Default is 10*dimension.
passed to fun
fun
list, with elements
x
NULL, currently not used
y
xbest
best solution
ybest
best observation
count
number of evaluations of fun
# NOT RUN { res <- optimGenoud(,fun = funSphere,lower = c(-10,-20),upper=c(20,8)) res$ybest # }
Run the code above in your browser using DataLab