OptimInstanceSingleCrit is a deprecated class that is now a wrapper around OptimInstanceBatchSingleCrit.
bbotk::OptimInstance -> bbotk::OptimInstanceBatch -> bbotk::OptimInstanceBatchSingleCrit -> OptimInstanceSingleCrit
new()Creates a new instance of this R6 class.
OptimInstanceSingleCrit$new(
objective,
search_space = NULL,
terminator,
keep_evals = "all",
check_values = TRUE,
callbacks = NULL
)objective(Objective)
Objective function.
search_space(paradox::ParamSet)
Specifies the search space for the Optimizer. The paradox::ParamSet
describes either a subset of the domain of the Objective or it describes
a set of parameters together with a trafo 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.
terminatorTerminator
Termination criterion.
keep_evals(character(1))
Keep all or only best evaluations in archive?
check_values(logical(1))
Should points before the evaluation and the results be checked for validity?
callbacks(list of mlr3misc::Callback)
List of callbacks.
clone()The objects of this class are cloneable with this method.
OptimInstanceSingleCrit$clone(deep = FALSE)deepWhether to make a deep clone.
OptimInstanceBatchSingleCrit