-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path01_experiments.R
82 lines (73 loc) · 2.93 KB
/
01_experiments.R
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
files.sources = dir("helperScriptsFunctions/")
files.sources <- paste0("helperScriptsFunctions/",files.sources[endsWith(files.sources, ".R")])
invisible(sapply(files.sources, source))
## Run Random Search on BBOB Funcs
paramList = list("seed" = 1:15,
"functionID" = 1:24,
"algoID" = 1,
"nDim" = c(2,5),
"budget" = 150,#50,
"batchSize" = 2,#c(2,4,8,16),
"expResults/exp1_RandomSearch")
print(paste("This will produce", nrow(expand.grid(paramList)), "experiments!"))
runAlgorithmByID(paramList)
## Run 1+1ES on BBOB Funcs
paramList = list("seed" = 1:15,
"functionID" = 1:24,
"algoID" = 4,
"nDim" = c(2,5),
"budget" = 150,#50,
"batchSize" = 2,#c(2,4,8,16),
"expResults/exp1_ES")
print(paste("This will produce", nrow(expand.grid(paramList)), "experiments!"))
runAlgorithmByID(paramList)
## Run CMAES on BBOB Funcs
paramList = list("seed" = 1:15,
"functionID" = 1:24,
"algoID" = 8,
"nDim" = c(2,5),
"budget" = 150,#50,
"batchSize" = 2,#c(2,4,8,16),
"expResults/exp1_CMAES")
print(paste("This will produce", nrow(expand.grid(paramList)), "experiments!"))
runAlgorithmByID(paramList)
## Run Multi-Local EI on BBOB Funcs
paramList = list("seed" = 1:15,
"functionID" = 1:24,
"algoID" = 13,
"nDim" = c(2,5),
"budget" = 150,#50,
"batchSize" = 2,#c(2,4,8,16),
"expResults/exp1_MultiLocalEI")
print(paste("This will produce", nrow(expand.grid(paramList)), "experiments!"))
runAlgorithmByID(paramList)
## Run moiMBO on BBOB Funcs
paramList = list("seed" = 1:15,
"functionID" = 1:24,
"algoID" = 5,
"nDim" = c(2,5),
"budget" = 150,#50,
"batchSize" = 2,#c(2,4,8,16),
"expResults/exp1_MOIMBO")
print(paste("This will produce", nrow(expand.grid(paramList)), "experiments!"))
runAlgorithmByID(paramList)
## Run qEI on BBOB Funcs
paramList = list("seed" = 1:15,
"functionID" = 1:24,
"algoID" = 6,
"nDim" = c(2,5),
"budget" = 150,#50,
"batchSize" = 2,#c(2,4,8,16),
"expResults/exp1_QEI")
print(paste("This will produce", nrow(expand.grid(paramList)), "experiments!"))
runAlgorithmByID(paramList)
## Run IPI on BBOB Funcs
paramList = list("seed" = 1:15,
"functionID" = 1:24,
"algoID" = 7,
"nDim" = c(2,5),
"budget" = 150,#50,
"batchSize" = 2,#c(2,4,8,16),
"expResults/exp1_IPI")
print(paste("This will produce", nrow(expand.grid(paramList)), "experiments!"))
runAlgorithmByID(paramList)