|
Optimist
0.0.0
A C++ library for optimization
|
Line search parameters and result. More...
#include <LineSearch.hh>
Public Attributes | |
| Scalar | c1 {1.0e-4} |
| Scalar | c2 {0.9} |
| Scalar | goldstein {0.25} |
| Scalar | shrink {0.5} |
| Scalar | alpha_max {1.0e10} |
| Integer | max_iterations {50} |
| Scalar | f_slack |
| Scalar | x_tolerance |
| Scalar | Floating-point number type. |
| Scalar Optimist::LineSearch::Settings< Scalar >::alpha_max {1.0e10} |
Maximum step.
| Scalar Optimist::LineSearch::Settings< Scalar >::c1 {1.0e-4} |
Sufficient decrease constant.
| Scalar Optimist::LineSearch::Settings< Scalar >::c2 {0.9} |
Curvature constant (Wolfe).
| Scalar Optimist::LineSearch::Settings< Scalar >::f_slack |
Relative slack \( \epsilon_f \) added to the sufficient decrease condition, \( \phi(\alpha) \leq \phi(0) + c_1\alpha\phi'(0) + \epsilon_f|\phi(0)| \), so that steps whose decrease is below the rounding error of \( \phi \) are not rejected near the minimizer (in the spirit of the approximate Wolfe conditions of Hager and Zhang). The factor 100 accounts for cancellation in the evaluation of phi.
| Scalar Optimist::LineSearch::Settings< Scalar >::goldstein {0.25} |
Goldstein constant in (0, 1/2).
| Integer Optimist::LineSearch::Settings< Scalar >::max_iterations {50} |
Maximum number of trial steps.
| Scalar Optimist::LineSearch::Settings< Scalar >::shrink {0.5} |
Backtracking factor.
| Scalar Optimist::LineSearch::Settings< Scalar >::x_tolerance |
Relative tolerance on the bracket width (Moré-Thuente).