The WolfeLS class performs an inexact line search on f to find a point x that exhibits (1) SDC: sufficient decrease (f(x) enough less that f(0)) and (2) CC: the slope at x is less steep than the slope at 0. That is, the line search looks for a value for x satisfying the two Wolfe conditions.
It works on scalar functions (@see wolfeLSTest). If starting with a vector function f(x), simply defines a new function fl(a) = x0 + direction * a (@see wolfeLSTest2).
Value parameters
c1
constant for sufficient decrease (Wolfe condition 1)
c2
constant for curvature/slope constraint (Wolfe condition 2)
Perform an inexact Line Search (LS) on the function f to find a point x that satisfies the Wolfe Conditions 1 and 2. A Bisection Method for the Wolfe Conditions
Perform an inexact Line Search (LS) on the function f to find a point x that satisfies the Wolfe Conditions 1 and 2. A Bisection Method for the Wolfe Conditions
Value parameters
lo0
the lower bound for x (defaults to 0)
weak
whether to use the weak (true) or strong (false) Wolfe conditions