def line_search_BFGS(f, xk, pk, gfk, old_fval, args=(), c1=0.0001, alpha0=1):
 r = line_search_armijo(f, xk, pk, gfk, old_fval, args=args, c1=c1, alpha0=alpha0)
 return (r[0], r[1], 0, r[2])

def line_search_BFGS ( f , xk , pk , gfk , old_fval , args = ( ) , c1 = 0.0001 , alpha0 = 1 ) : r = line_search_armijo ( f , xk , pk , gfk , old_fval , args = args , c1 = c1 , alpha0 = alpha0 ) return ( r [ 0 ] , r [ 1 ] , 0 , r [ 2 ] )
compatibility wrapper for line_search_armijo .