template<typename Scalar = double>
class LBFGSpp::LBFGSBParam< Scalar >
Parameters to control the L-BFGS-B algorithm.
Definition at line 225 of file Param.h.
template<typename Scalar = double>
Absolute tolerance for convergence test. This parameter determines the absolute accuracy \(\epsilon_{abs}\) with which the solution is to be found. A minimization terminates when \(||Pg||_{\infty} < \max\{\epsilon_{abs}, \epsilon_{rel}||x||\}\), where \(||x||\) denotes the Euclidean (L2) norm of \(x\), and \(Pg=P(x-g,l,u)-x\) is the projected gradient. The default value is 1e-5
.
Definition at line 246 of file Param.h.
template<typename Scalar = double>
Relative tolerance for convergence test. This parameter determines the relative accuracy \(\epsilon_{rel}\) with which the solution is to be found. A minimization terminates when \(||Pg||_{\infty} < \max\{\epsilon_{abs}, \epsilon_{rel}||x||\}\), where \(||x||\) denotes the Euclidean (L2) norm of \(x\), and \(Pg=P(x-g,l,u)-x\) is the projected gradient. The default value is 1e-5
.
Definition at line 256 of file Param.h.
template<typename Scalar = double>
Distance for delta-based convergence test. This parameter determines the distance \(d\) to compute the rate of decrease of the objective function, \(f_{k-d}(x)-f_k(x)\), where \(k\) is the current iteration step. If the value of this parameter is zero, the delta-based convergence test will not be performed. The default value is 1
.
Definition at line 265 of file Param.h.
template<typename Scalar = double>
Delta for convergence test. The algorithm stops when the following condition is met, \(|f_{k-d}(x)-f_k(x)|<\delta\cdot\max(1, |f_k(x)|, |f_{k-d}(x)|)\), where \(f_k(x)\) is the current function value, and \(f_{k-d}(x)\) is the function value \(d\) iterations ago (specified by the past parameter). The default value is 1e-10
.
Definition at line 274 of file Param.h.