powered by
Implements Gramacy's plgp package based optimization using expected improvement. Example from chapter 7 in the surrogate book.
optimLagp(x = NULL, fun, lower, upper, control = list(), ...)
optional matrix of points to be included in the evaluation
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: 100.
retries
Number of retries for design generation, used by designLHD. Default: 100.
designLHD
passed to fun
fun
list, with elements
x
archive of evaluated solutions
y
archive of observations
xbest
best solution
ybest
best observation
count
number of evaluations of fun
message
success message
# NOT RUN { res <- optimLHD(,fun = funSphere,lower = c(-10,-20),upper=c(20,8)) res$ybest # }
Run the code above in your browser using DataLab