Description Usage Arguments Examples
For easier use with the IOHexperimenter
Random walk in {0, 1}^d space; Maximization
Random walk in continuous space;
1 2 3 4 5 6 7 | IOH_random_search(IOHproblem, budget = NULL)
random_search_PB(dim, obj_func, target_hit = function() { FALSE },
budget = NULL)
random_search(dim, obj_func, target_hit = function() { FALSE },
budget = NULL, lbound = -1, ubound = 1, maximize = T)
|
IOHproblem |
An IOHproblem object |
budget |
Integer, maximal allowable number of function evaluations |
dim |
Dimension of search space |
obj_func |
The evaluation function |
target_hit |
Optional, function which enables early stopping if a target value is reached |
lbound |
Lower bound of search space. Either single number or vector of size 'dim' |
ubound |
Upper bound of search space. Either single number or vector of size 'dim' |
maximize |
Whether to perform maximization or minimization. The function assumes minimization, achieved by inverting the obj_func when 'maximize' is FALSE |
1 | benchmark_algorithm(IOH_random_search, data.dir = NULL)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.