optimizeR 1.2.1
Small fixes.
Added private helper function
.check_arguments_complete()toObjectiveobject that checks if all required arguments are specified.Added functionality to
Objectiveobject that can compute numerical gradient and Hessian.
optimizeR 1.2.0
CRAN release: 2025-04-24
Gradient, Hessian, and parameter bounds can now be passed to
Optimizerobjects.The old S3 interface has been removed, hence, the functions
define_optimizer(),optimizer_nlm(),optimizer_optim(),new_optimizer(),validate_optimizer(), andapply_optimizer()are no longer available. Please use the R6 interface instead, viaOptimizer$new()and corresponding methods, seehelp("Optimizer", "optimizeR")for details.
optimizeR 1.1.3
CRAN release: 2025-03-27
- The
ParameterSpacesallows to specify parameters that are not used for transformations. This could be useful if a generalParameterSpacesobject is defined for nested sets of parameters.
optimizeR 1.1.2
CRAN release: 2024-11-27
- New
ParameterSpacesR6 object to transform parameters between optimization and interpretation space.
optimizeR 1.1.1
CRAN release: 2024-06-19
- The
Objectiveobject now allows for different types of output structures of the objective function, for which a template can be provided via the$output_templatefield.
optimizeR 1.1.0
CRAN release: 2024-05-27
The
Optimizerobject has a new methodoptimizewhich can be used for minimization and maximization by setting the argumentdirection.In method
Objective$initialize(), renamed argumentobjective->f.In method
Objective$initialize(), iftarget = NULL(the new default), the first argument fromfis taken as target argument.
optimizeR 1.0.4
CRAN release: 2024-02-05
- Fixed bug and added test cases when having fixed arguments that are
NULL.
optimizeR 1.0.3
CRAN release: 2024-01-31
Fixed bug in creating error message in case of a time out.
Added checks for objective, initial, and ellipsis argument for the optimizer function.
Added
verboseargument to methods$get_argument()and$remove_argument()ofObjectiveobject.Added field
fixed_argumentstoObjectiveobject which returns the names of the fixed arguments.Fixed bug in proper backwards compatibility.
optimizeR 1.0.2
CRAN release: 2024-01-14
Small bug fixes.
Backward compatibility with optimizeR version 0.3.3.
optimizeR 1.0.1
CRAN release: 2023-11-08
- Fixed wrong values for
"out_value"and"out_parameter"in the optimizer dictionary entry forstats::optim.
optimizeR 1.0.0
CRAN release: 2023-11-04
- Instead of using S3 classes, we treat optimizers as R6 objects now.
optimizeR 0.3.3
CRAN release: 2023-09-27
Removed package start-up message.
Added the
.directionargument todefine_optimizer()to specify whether the optimizer minimizes or maximizes.Added a dot before the argument names for
define_optimizer()to avoid clashes with the...argument.Removed dependency on glue.
Using
TestFunctions::TF_ackleyinstead of own implementation of Ackley function (for the validation).
optimizeR 0.3.2
CRAN release: 2023-03-25
- Just added package logo and created package website (https://loelschlaeger.de/optimizeR) with the {pkgdown} package. No code changes.
optimizeR 0.3.0
CRAN release: 2023-01-22
Function
set_optimizer()was renamed todefine_optimizer().-
Inputs for
define_optimizer()were renamed for clarity:-
opt_fun->optimizer -
f->objective -
p->initial -
v->value -
z->parameter -
out_ign->output_ignore -
test_par->validation_settings
-
Elements for input
validation_settingshave been simplified, please see the documentation ofdefine_optimizer().-
Elements in the output of
apply_optimizer()were renamed for clarity:-
v->value -
z->parameter -
time->seconds(now just anumeric)
-
Element
initial(the starting parameter vector) was added to the output ofapply_optimizer().
optimizeR 0.2.0
CRAN release: 2022-12-02
-
Some functions were renamed:
-
optimizeR()->apply_optimizer() -
set_optimizer_nlm()->optimizer_nlm() -
set_optimizer_optim()->optimizer_optim()
-
Functions
is_number(),try_silent(),timed(), anddo.call_timed()are no longer exported.Function
try_silent_timed()was removed.
