powered by
Run optim on a list of spot benchmark functions
optim
runOptim( fl = makeMoreFunList(), method = "Nelder-Mead", n = 2, k = 1:length(makeMoreFunList()$funList), verbosity = 0 )
function list. Generated with one of the function list generators in spot, e.g., makeSpotFunList or makeMoreFunList. Default: makeMoreFunList.
spot
makeSpotFunList
makeMoreFunList
The method used by optim: "Nelder-Mead", "BFGS", "CG", "L-BFGS-B", "SANN", or "Brent". Default: "Nelder-Mead".
"Nelder-Mead", "BFGS", "CG", "L-BFGS-B", "SANN", or "Brent"
"Nelder-Mead"
repeats. If n >1 , different start points (randomized) will be used. Default: n=2.
n >1
n=2
subset of benchmark functions. Default: 1:length(makeMoreFunList()$funList), i.e., all implemented functions.
1:length(makeMoreFunList()$funList)
Level 0 shows no output (default).
res. data.frame with results: c("f", "r", "y")
c("f", "r", "y")
# NOT RUN { summary(runOptim(k=1)$y) summary(runOptim(k=1, method="CG")$y) # }
Run the code above in your browser using DataLab