Changelog
Source:NEWS.md
bbotk 1.7.1
CRAN release: 2025-10-24
fix: Imbalanced protection and casting in C code. fix: Load required packages in worker loop.
bbotk 1.7.0
CRAN release: 2025-10-10
- BREAKING CHANGE: Replace
OptimizerBatchLocalSearchwith a faster C implementation. - feat: Add
parparameter toOptimizerGenSA. - BREAKING CHANGE: Replace
startparameter fromOptimizerNloptrwithx0parameter. - feat: Expose internal termination criteria of
Optimizers. - feat: Store required packages in
Objective$packages. - feat: Fail queued and running points when optimization is terminated.
- fix: Pass
n_workerstorush. - feat: Kill
rushworker after optimization. - feat: Add tiny logging mode.
bbotk 1.6.0
CRAN release: 2025-06-03
- BREAKING CHANGE: The mlr3 ecosystem has a base logger now which is named
mlr3. Themlr3/bbotklogger is a child of themlr3logger and is used for logging messages from thebbotkandmlr3tuningpackage. - feat: Classes are now printed with the
clipackage. - fix: Prevent switching of
xssandconstants. - fix: Add saveguard on
OptimizerNloptrbounds. - feat: Allow numerical gradient approximation in
OptimizerNloptr.
bbotk 1.5.0
CRAN release: 2024-12-17
- compatibility: irace 4.1.0
- compatibility: rush 0.2.0
- refactor: Replace
Codomain$maximization_to_minimizationwith$directionfield. - feat: Save
ArchiveAsyncto adata.tablewithArchiveAsyncFrozen.
bbotk 1.4.0
CRAN release: 2024-11-26
- feat: Add
OptimizerBatchChainthat runs multiple optimizers sequentially. - refactor: Only pass
extrato$assign_result().
bbotk 1.3.0
CRAN release: 2024-11-07
- feat: Add new stage
on_result_begintoCallbackAsyncTuningandCallbackBatchTuning. - refactor: Rename stage
on_resulttoon_result_endinCallbackAsyncTuningandCallbackBatchTuning. - docs: Extend the
CallbackAsyncTuningandCallbackBatchTuningdocumentation.
bbotk 1.2.0
CRAN release: 2024-10-25
- feat:
ContextBatchandContextAsynchave aresult_extrafield now to access additional results passed to the instance. - refactor: Additional information are passed with
extratoOptimInstance$assign_result().
bbotk 1.1.1
CRAN release: 2024-10-15
- feat: The optimizers passes additional information to
OptimInstance$assign_result()method.
bbotk 1.1.0
CRAN release: 2024-09-09
- docs: Move vignette to mlr3book.
- feat: Add hypervolume stagnation terminator
trm("stagnation_hypervolume"). - feat Add local search optimizer
opt("local_search"). - refactor: Remove unused fields from callbacks.
- fix: Add
"on_optimization_end_batch"stage toCallbackBatch.
bbotk 1.0.0
CRAN release: 2024-06-28
- feat: Introduce asynchronous optimization with the
OptimizerAsyncandOptimInstanceAsyncclasses. - BREAKING CHANGE: The
Optimizerclass isOptimizerBatchnow. - BREAKING CHANGE: The
OptimInstanceclass and subclasses areOptimInstanceBatch*now. - BREAKING CHANGE: The
CallbackOptimizationclass isCallbackBatchnow. - BREAKING CHANGE: The
ContextOptimizationclass isContextBatchnow. - BREAKING CHANGE: Remove
ArchiveBestclass andkeep_evalsparameter fromOptimInstance.
bbotk 0.8.0
CRAN release: 2024-02-29
- fix:
OptimizerIracefailed with logical parameters and dependencies. - refactor: Optimize the runtime of
archive$best()method and add ties method. - compatibility: Work with new paradox version 1.0.0
bbotk 0.7.3
CRAN release: 2023-11-13
- fix:
OptimInstance$print()errored when the search space was empty.
bbotk 0.7.2
CRAN release: 2022-12-08
- fix: Standalone
TunerandFSelectorwere rejected byContextBatch.
bbotk 0.7.1
CRAN release: 2022-11-30
- feat: Data unrelated to a specific point evaluation can be written to
Archive$data_extra.
bbotk 0.7.0
CRAN release: 2022-11-05
- fix:
Terminator$format(with_params = TRUE)printed an empty list when no parameter was set. - refactor:
OptimizerIraceautomatically added theinstancesparameter toObjective$constants. From now on, theinstancesparameter can be also set manually. - BREAKING CHANGE:
branin(xs)is nowbranin(x1, x2, noise)andbranin_wu(x1, x2, fidelity). - feat: Add
ObjectiveRFunManythat can evaluate a list of configurations with a user supplied function. - fix: If all configurations were missing a parameter,
ObjectiveRFunDt$eval_many()did not create a column withNAfor the missing parameter. - refactor: The default of
digitsinOptimizerIraceis 15 now to avoid rounding errors. - refactor: The bounds of double parameters were processed with only 4 decimal places in
OptimizerIrace. By default, the bounds of double parameters are represented with 15 decimal places now. Thedigitsparameter ofOptimizerIracealso changes number of decimal places of the bounds now.
bbotk 0.6.0
CRAN release: 2022-10-25
- fix:
OptimizerIracedid not work with parameters with multiple dependencies. - feat: Add new callback that backups the archive to disk to
mlr_callbacks. - feat: Create custom callbacks with the
callback_batch()function.
bbotk 0.5.4
CRAN release: 2022-08-25
- feat: Add
OptimizerFocusSearchthat performs a focusing random search.
bbotk 0.5.2
CRAN release: 2022-04-04
- refactor: The
$print()method ofOptimInstanceomits unnecessary columns now. - fix: The
$clear()method ofOptimInstanceraised an error. - fix: The
$clear()method ofArchivemissed to reset the$start_timefield. - feat:
OptimizerandTerminatorobjects have the optional field$labelnow. - feat:
as.data.table()functions for objects of classDictionaryhave been extended with additional columns. - feat: Add a
as.data.table.DictionaryTerminator()function.
bbotk 0.5.1
CRAN release: 2022-02-25
- fix: The return of the
$.status()method ofTerminatorRunTimeandTerminatorClockTimewas not in a consistent unit. The return is in seconds from now on. - fix: The number of evaluations was recorded as 0 in the log messages when the search space was empty.
- feat: Add a
as.data.table.DictionaryOptimizer()function. - feat: New
$help()method which opens the manual page of anOptimizer.
bbotk 0.5.0
CRAN release: 2022-01-19
- feat: Add
$nds_selection()method toArchive. - feat: New
Codomainclass that allows extra parameters. - refactor: Objective values were automatically named. From now on, only unnamed returns of
ObjectiveRFunare named. - fix:
OptimInstance,ArchiveandObjectiveobjects were not cloned properly. - refactor: The fields
$param_classes,$propertiesand$packagesofOptimizerobjects are read-only now. - feat: The
branin()function is exported now.
bbotk 0.4.0
CRAN release: 2021-09-13
- feat: The search space and domain can now be empty.
- feat: The budget of
TerminatorEvalscan now be changed depending on the dimension of the search space with the parameterk. - feat: Add
bb_optimize()function. - feat: Add
OptimizerIracewhich callsirace::iracefrom theiracepackage.
bbotk 0.3.1
CRAN release: 2021-03-12
- feat: Add
$clear()method toOptimInstanceto reset the instance. - refactor: Prettier
$print()methods. - feat: Assertions on overlapping and reserved names in domain and codomain.
bbotk 0.3.0
CRAN release: 2021-01-23
- feat: The check of points and results can now be disables with the
check_valuesflag inOptimInstance,OptimInstanceSingleCrit,OptimInstanceMultiCrit,ObjectiveRFunandObjectiveRFunDt. - refactor: The
data.tablewithin theArchivecan now be accessed with$data. - refactor: The
mparameter ofArchive$best()is renamed tobatch. - feat: New
ArchiveBestclass which only stores best scoring evaluation instead of all evaluations - refactor: The runtime is reduced when
ObjectiveRFunDtis used with a domain without trafo. - fix: Add support for
ParamUtyinOptimizerDesignPoints. - feat: The start points for
OptimizerCmaesandOptimizerNloptrcan now be randomly created or from center of the search space. - feat: The
$optimize()method supports progress bars via the packageprogressr.
bbotk 0.2.2
CRAN release: 2020-10-08
- refactor: Remove dependency on orphaned package
bibtex. - feat: Add
OptimizerCmaeswhich callsadagio::pureCMAESfrom theadagiopackage.