ENS_OLD_SEPARABLE_STEP_BEHAVIOR
macro before including
ensmallen.hpp
(#431).ParetoFront()
and
ParetoSet()
from multi-objective optimizers (#435). Instead,
pass objects to the Optimize()
function; see the
documentation for each multi-objective optimizer for more details. A
typical transition will change code like:
c++ optimizer.Optimize(objectives, coordinates); arma::cube paretoFront = optimizer.ParetoFront(); arma::cube paretoSet = optimizer.ParetoSet();
to instead gather the Pareto front and set in the call:
c++ arma::cube paretoFront, paretoSet; optimizer.Optimize(objectives, coordinates, paretoFront, paretoSet);
lowerBound
and upperBound
(#435). Instead,
pass an instantiated BoundaryBoxConstraint
to the
constructor. A typical transition will change code like:
c++ ActiveCMAES<FullSelection, BoundaryBoxConstraint> opt(lambda, lowerBound, upperBound, ...);
into
c++ ActiveCMAES<FullSelection, BoundaryBoxConstraint> opt(lambda, BoundaryBoxConstraint(lowerBound, upperBound), ...);
FBS
, FISTA
, and
FASTA
(#427). See the
documentation for more details.Lambda()
and Sigma()
functions of the
AugLagrangian
optimizer, 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 the Optimize()
function
directly:
c++ augLag.Optimize(function, coordinates, lambda, sigma)
and these will be filled with the final Lagrange multiplier estimates
and penalty parameters.tests/de_test.cpp
(#419).exactObjective
output for SGD-like optimizers when
the number of iterations is an even number of epochs (#417).demon_sgd_test.cpp
(#420).-DARMA_USE_CURRENT
added to PKG_CXXFLAGS
to use Armadillo 15.0.2 or higher (#69).DESCRIPTION
now emphasizes R 4.3.0 or higher for a
higher C++ standard by default.update-ensmallen-refresh
and pkgdown
to address deprecation notices. (#53,
#54,
#55).DESCRIPTION
and
Makevars{.win}
.Upgraded to ensmallen 2.19.0: “Eight Ball Deluxe” (2022-04-11)
Added DemonSGD and DemonAdam optimizers (#211).
Fix bug with Adam-like optimizers not resetting when
resetPolicy
is true
. (#340).
Add Yogi optimizer (#232).
Add AdaBelief optimizer (#233).
Add AdaSqrt optimizer (#234).
Bump check for minimum supported version of Armadillo (#342).
r-lib/actions
configuration. (#45)wc -l
in MacOS) (#216, #220).oldrel
, release
,
devel
). (#29,
#32)problems/
files (#147).Optimize()
functions now take any matrix type; so,
e.g., arma::fmat
or arma::sp_mat
can be used
for optimization. See the documentation for (#113). (#119).Optimize()
call, and can perform custom
behavior at different points during the optimization. See the
documentation for more details (#119).FrankWolfe
optimizer (#127).-Wreorder
.