Optimizer class that implements the base functionality each
Optimizer subclass must provide. A
Optimizer object describes the
Optimizer object must write its result to the
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
Creates a new instance of this R6 class.
Helper for print outputs.