Abstract base class.

## Technical details

#### Arguments

objective

(Objective).

search_space

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.

terminator

(Terminator).

### Method format()

Helper for print outputs.

#### Arguments

...

(ignored).

### Method eval_batch()

Evaluates all input values in xdt by calling the Objective. Applies possible transformations to the input values and writes the results to the Archive.

Before each batch-evaluation, the Terminator is checked, and if it is positive, an exception of class terminated_error is raised. This function should be internally called by the Optimizer.

#### Arguments

xdt

(data.table::data.table())
x values as data.table() with one row. Contains the value in the search space of the OptimInstance object. Can contain additional columns for extra information.

y

(numeric(1))
Optimal outcome.

### Method objective_function()

#### Arguments

x

(numeric())
Untransformed points.

#### Returns

Objective value as numeric(1), negated for maximization problems.

### Method clone()

The objects of this class are cloneable with this method.

#### Usage

OptimInstance\$clone(deep = FALSE)

#### Arguments

deep

Whether to make a deep clone.