Releases: coatless-rpkg/rcppensmallen
Releases · coatless-rpkg/rcppensmallen
RcppEnsmallen 0.3.10.0.1
- Upgraded to ensmallen 3.10.0: "Unexpected Rain" (2025-09-30)
- SGD-like optimizers now all divide the step size by the batch size so that
step sizes don't need to be tuned in addition to batch sizes. If you require
behavior from ensmallen 2, define theENS_OLD_SEPARABLE_STEP_BEHAVIORmacro
before includingensmallen.hpp
(#431). - Remove deprecated
ParetoFront()andParetoSet()from multi-objective
optimizers (#435). Instead,
pass objects to theOptimize()function; see the documentation for each
multi-objective optimizer for more details. A typical transition will change
code like:to instead gather the Pareto front and set in the call:optimizer.Optimize(objectives, coordinates); arma::cube paretoFront = optimizer.ParetoFront(); arma::cube paretoSet = optimizer.ParetoSet();
arma::cube paretoFront, paretoSet; optimizer.Optimize(objectives, coordinates, paretoFront, paretoSet);
- Remove deprecated constructor for Active CMA-ES that takes
lowerBoundand
upperBound(#435).
Instead, pass an instantiatedBoundaryBoxConstraintto the constructor. A
typical transition will change code like:intoActiveCMAES<FullSelection, BoundaryBoxConstraint> opt(lambda, lowerBound, upperBound, ...);ActiveCMAES<FullSelection, BoundaryBoxConstraint> opt(lambda, BoundaryBoxConstraint(lowerBound, upperBound), ...);
- Add proximal gradient optimizers for L1-constrained and other related
problems:FBS,FISTA, andFASTA
(#427). See the
documentation for more details. - The
Lambda()andSigma()functions of theAugLagrangianoptimizer,
which could be used to retrieve the Lagrange multipliers and penalty
parameter after optimization, are now deprecated
(#439). Instead, pass a
vector and a double to theOptimize()function directly:and these will be filled with the final Lagrange multiplier estimates andaugLag.Optimize(function, coordinates, lambda, sigma)
penalty parameters. - Fix include statement in
tests/de_test.cpp
(#419). - Fix
exactObjectiveoutput for SGD-like optimizers when the number of
iterations is an even number of epochs
(#417). - Increase tolerance in
demon_sgd_test.cpp
(#420). - Set cmake version range to 3.5...4.0
(#422).
- SGD-like optimizers now all divide the step size by the batch size so that
RcppEnsmallen 0.2.22.1.2
-DARMA_USE_CURRENTadded toPKG_CXXFLAGSto use Armadillo 15.0.2 or higher
(#69).DESCRIPTIONnow emphasizes R 4.3.0 or higher for a higher C++ standard by default.
RcppEnsmallen 0.2.22.1.1
RcppEnsmallen 0.2.22.0.1 (GitHub-only)
- Upgraded to ensmallen 2.22.0: "E-Bike Excitement" (2024-11-29)
- Addressed uninitialized variable and private field warnings
(#65)
RcppEnsmallen 0.2.21.1.1
RcppEnsmallen 0.2.21.0.1
- Upgraded to ensmallen 2.21.0: "Stripped Bolt Head" (2023-11-27)
- Updated vignettes to account for R 4.0.0 change. (#61)
- Added pkgdown website URL to DESCRIPTION.
RcppEnsmallen 0.2.20.0.1
- Upgraded to ensmallen 2.20.0: "Eight Ball Deluxe" (2023-10-05)
- Updated GitHub Action runners
update-ensmallen-refreshandpkgdownto address deprecation notices.
(#53, #54, #55). - Removed explicit C++11 requirement from
DESCRIPTIONandMakevars{.win}. - Increased the R version required to R 4.0 to ensure a compiler with
C++11 is available.
RcppEnsmallen 0.2.19.0.1
- Upgraded to ensmallen 2.19.0: "Eight Ball Deluxe" (2022-04-11)