IOHproblem {IOHexperimenter} | R Documentation |
get an IOHproblem objects
Description
If an 'experimenter'-argument is provided, this is the same function as 'next_problem' If not, this creates a suite consisting of a single function based on the other arguments
Usage
IOHproblem(suite = "PBO", functionnr = 1, dim = 16, instance = 1,
experimenter = NULL)
Arguments
suite |
The suite to use. Either 'PBO' or 'BBOB' |
functionnr |
The number of the function to create |
dim |
The dimension of the function to create |
instance |
The instance of the function to create |
experimenter |
(optional) an IOHexperimenter object |
Details
An IOHproblem-object has the following attributes:
"Dimension": The dimesion of the problem
"function_id: The number of the function
"instance: The number of the function-instance
suite: The suite of the function. Either 'PBO' or 'BBOB'
fopt: If known, the optimal value of the function
lbound: The lower bound of the searchspace
ubound: The upper bound of the searchspace
maximization: Boolean indicating whether the function should be maximized or minimized
params.track: The parameters which are being tracked on this function. Only available if initialized in the underlying IOHexperimenter-object (or when using the 'benchmark_algorithm'-function)
In addition to these attributes, there are three function-attributes available to use:
obj_function: The interface to evaluate the function
target_hit: Boolean indicating if the optimal has been hit (if known)
set_parameters: Interface to storing the current parameter values (if param.track is initialized), This has two arguments: the list of names of parameters to update (must match those of param.track) and a list of equal length containing their respective values.
Value
An IOHproblem object
Examples
p <- IOHproblem()