Abstract OptimizerBatch class that implements the base functionality each OptimizerBatch subclass must provide.
A OptimizerBatch object describes the optimization strategy.
A OptimizerBatch object must write its result to the $assign_result() method of the OptimInstance at the end in order to store the best point and its estimated performance vector.
$optimize() supports progress bars via the package progressr
combined with a Terminator. Simply wrap the function in
progressr::with_progress() to enable them. We recommend to use package
progress as backend; enable with progressr::handlers("progress").
bbotk::Optimizer -> OptimizerBatch
optimize()Performs the optimization and writes optimization result into OptimInstanceBatch. The optimization result is returned but the complete optimization path is stored in ArchiveBatch of OptimInstanceBatch.
OptimizerBatch$optimize(inst)inst(OptimInstanceBatch).
clone()The objects of this class are cloneable with this method.
OptimizerBatch$clone(deep = FALSE)deepWhether to make a deep clone.
OptimizerBatchDesignPoints, OptimizerBatchGridSearch, OptimizerBatchRandomSearch