Find alpha that satisfies strong Wolfe conditions.
Parameters : | f : callable f(x,*args)
myfprime : callable f’(x,*args)
xk : ndarray
pk : ndarray
gfk : ndarray, optional
old_fval : float, optional
old_old_fval : float, optional
args : tuple, optional
c1 : float, optional
c2 : float, optional
|
---|---|
Returns : | alpha0 : float
fc : int
gc : int
|
Notes
Uses the line search algorithm to enforce strong Wolfe conditions. See Wright and Nocedal, ‘Numerical Optimization’, 1999, pg. 59-60.
For the zoom phase it uses an algorithm by [...].