IOH_random_local_search {IOHexperimenter} | R Documentation |
For easier use with the IOHexperimenter
The simplest stochastic optimization algorithm for discrete problems. A randomly chosen position in the solution vector is perturbated in each iteration. Only improvements are accepted after perturbation.
IOH_random_local_search(IOHproblem, budget = NULL)
random_local_search(dimension, obj_func, target_hit = function() {
FALSE }, budget = NULL)
IOHproblem |
An IOHproblem object |
budget |
integer, maximal allowable number of function evaluations |
dimension |
Dimension of search space |
obj_func |
The evaluation function |
target_hit |
Optional, function which enables early stopping if a target value is reached |
benchmark_algorithm(IOH_random_local_search, data.dir = NULL)