Function to construct a OptimInstanceBatchSingleCrit and OptimInstanceBatchMultiCrit.
Usage
oi(
objective,
search_space = NULL,
terminator,
callbacks = NULL,
check_values = TRUE,
keep_evals = "all"
)
Arguments
- objective
(Objective)
Objective function.- search_space
(paradox::ParamSet)
Specifies the search space for the Optimizer. The paradox::ParamSet describes either a subset of thedomain
of the Objective or it describes a set of parameters together with atrafo
function that transforms values from the search space to values of the domain. Depending on the context, this value defaults to the domain of the objective.- terminator
Terminator
Termination criterion.- callbacks
(list of mlr3misc::Callback)
List of callbacks.- check_values
(
logical(1)
)
Should points before the evaluation and the results be checked for validity?- keep_evals
(
character(1)
)
Keepall
or onlybest
evaluations in archive?