Class OldLineSearch#

Inheritance Relationships#

Base Type#

Class Documentation#

class OldLineSearch : public pele::LineSearch#

line search method as implemented in backtracking line search in pele originally for LBFGS: as defined by Daniel Asenjo prevents the energy from rising above a certain value as compared to the usual backtracking linesearch method which implements sufficient decrease condition May also fail if the convergence is quadratic

ALso it is assumed that any potential methods used by this would be defined from an interface to the optimizer so that the evaluations can be tracked

Public Functions

inline OldLineSearch(
GradientOptimizer *opt,
double maxstepnorm,
double max_f_rise = 1e-4,
double nred_max = 10,
bool use_relative_f = true
)#
virtual double line_search(Array<double> &x, Array<double> step)#

Compute the step size given a step and a position.

inline void set_xold_gold_(Array<double> &xold, Array<double> &gold)#
inline void set_g_f_ptr(Array<double> &g)#