OptimInstanceSingleCrit {bbotk}R Documentation

Single Criterion Optimization Instance for Batch Optimization

Description

OptimInstanceSingleCrit is a deprecated class that is now a wrapper around OptimInstanceBatchSingleCrit.

Super classes

bbotk::OptimInstance -> bbotk::OptimInstanceBatch -> bbotk::OptimInstanceBatchSingleCrit -> OptimInstanceSingleCrit

Methods

Public methods

Inherited methods

Method new()

Creates a new instance of this R6 class.

Usage
OptimInstanceSingleCrit$new(
  objective,
  search_space = NULL,
  terminator,
  keep_evals = "all",
  check_values = TRUE,
  callbacks = NULL
)
Arguments
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.

terminator

Terminator
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.


Method clone()

The objects of this class are cloneable with this method.

Usage
OptimInstanceSingleCrit$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.


[Package bbotk version 1.0.0 Index]