Optimization Instance with budget and archiveSource:
Abstract base class.
The Optimizer writes the final result to the
.result field by using
.result stores a data.table::data.table
consisting of x values in the search space, (transformed) x values in the
domain space and y values in the codomain space of the Objective. The
user can access the results with active bindings (see below).
Creates a new instance of this R6 class.
OptimInstance$new( objective, search_space = NULL, terminator, keep_evals = "all", check_values = TRUE )
Specifies the search space for the Optimizer. The paradox::ParamSet describes either a subset of the
domainof the Objective or it describes a set of parameters together with a
trafofunction 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.
bestevaluations in archive?
Should x-values that are added to the archive be checked for validity? Search space that is logged into archive.
Helper for print outputs.
x values as
data.table()with one point per row. Contains the value in the search space of the OptimInstance object. Can contain additional columns for extra information.
The Optimizer object writes the best found point and estimated performance value here. For internal use.
Evaluates (untransformed) points of only numeric values. Returns a
numeric scalar for single-crit or a numeric vector for multi-crit. The
return value(s) are negated if the measure is maximized. Internally,
$eval_batch() is called with a single row. This function serves as a
objective function for optimizers of numeric spaces - which should always
Reset terminator and clear all evaluation results from archive and results.