fix: Imbalanced protection and casting in C code. fix: Load required packages in worker loop.
OptimizerBatchLocalSearch with
a faster C implementation.par parameter to
OptimizerGenSA.start parameter from
OptimizerNloptr with x0 parameter.Optimizers.Objective$packages.n_workers to rush.rush worker after optimization.mlr3. The mlr3/bbotk logger is a child
of the mlr3 logger and is used for logging messages from
the bbotk and mlr3tuning package.cli
package.xss and
constants.OptimizerNloptr bounds.OptimizerNloptr.Codomain$maximization_to_minimization
with $direction field.ArchiveAsync to a data.table
with ArchiveAsyncFrozen.OptimizerBatchChain that runs multiple
optimizers sequentially.extra to
$assign_result().on_result_begin to
CallbackAsyncTuning and
CallbackBatchTuning.on_result to
on_result_end in CallbackAsyncTuning and
CallbackBatchTuning.CallbackAsyncTuning and
CallbackBatchTuning documentation.ContextBatch and ContextAsync have a
result_extra field now to access additional results passed
to the instance.extra
to OptimInstance$assign_result().OptimInstance$assign_result() method.trm("stagnation_hypervolume").opt("local_search")."on_optimization_end_batch" stage to
CallbackBatch.OptimizerAsync and OptimInstanceAsync
classes.Optimizer class is
OptimizerBatch now.OptimInstance class and subclasses
are OptimInstanceBatch* now.CallbackOptimization class is
CallbackBatch now.ContextOptimization class is
ContextBatch now.ArchiveBest class and
keep_evals parameter from OptimInstance.OptimizerIrace failed with logical parameters and
dependencies.archive$best() method
and add ties method.OptimInstance$print() errored when the search
space was empty.Tuner and FSelector were
rejected by ContextBatch.Archive$data_extra.Terminator$format(with_params = TRUE) printed an
empty list when no parameter was set.OptimizerIrace automatically added the
instances parameter to Objective$constants.
From now on, the instances parameter can be also set
manually.branin(xs) is now
branin(x1, x2, noise) and
branin_wu(x1, x2, fidelity).ObjectiveRFunMany that can evaluate a list of
configurations with a user supplied function.ObjectiveRFunDt$eval_many() did not create a column with
NA for the missing parameter.digits in
OptimizerIrace is 15 now to avoid rounding errors.OptimizerIrace. By default, the bounds of
double parameters are represented with 15 decimal places now. The
digits parameter of OptimizerIrace also
changes number of decimal places of the bounds now.OptimizerIrace did not work with parameters with
multiple dependencies.mlr_callbacks.callback_batch()
function.OptimizerFocusSearch that performs a focusing
random search.Optimizer and Terminator objects
have the field $id now.$print() method of
OptimInstance omits unnecessary columns now.$clear() method of OptimInstance
raised an error.$clear() method of Archive missed
to reset the $start_time field.Optimizer and Terminator objects
have the optional field $label now.as.data.table() functions for objects of class
Dictionary have been extended with additional columns.as.data.table.DictionaryTerminator()
function.$.status() method of
TerminatorRunTime and TerminatorClockTime was
not in a consistent unit. The return is in seconds from now on.as.data.table.DictionaryOptimizer()
function.$help() method which opens the manual page of
an Optimizer.$nds_selection() method to
Archive.Codomain class that allows extra
parameters.ObjectiveRFun are named.OptimInstance, Archive and
Objective objects were not cloned properly.$param_classes,
$properties and $packages of
Optimizer objects are read-only now.branin() function is exported now.TerminatorEvals can now be changed
depending on the dimension of the search space with the parameter
k.bb_optimize() function.OptimizerIrace which calls
irace::irace from the irace package.$clear() method to OptimInstance
to reset the instance.$print() methods.check_values flag in OptimInstance,
OptimInstanceSingleCrit,
OptimInstanceMultiCrit, ObjectiveRFun and
ObjectiveRFunDt.data.table within the
Archive can now be accessed with $data.m parameter of
Archive$best() is renamed to batch.ArchiveBest class which only stores best
scoring evaluation instead of all evaluationsObjectiveRFunDt
is used with a domain without trafo.ParamUty in
OptimizerDesignPoints.OptimizerCmaes and
OptimizerNloptr can now be randomly created or from center
of the search space.$optimize() method supports progress bars via
the package progressr.bibtex.OptimizerCmaes which calls
adagio::pureCMAES from the adagio
package.Optimizer is not installed.