[SciPy-user] [SciPy-dev] question about scipy.optimize.line_search

Alan G Isaac aisaac@american....
Thu Jun 28 15:40:03 CDT 2007

On Thu, 28 Jun 2007, Dmitrey apparently wrote: 
> help(line_search) yields 
> -------------------------------------------------------------------- 
> line_search(f, myfprime, xk, pk, gfk, old_fval, old_old_fval, args=(), 
> c1=0.0001, c2=0.90000000000000002, amax=50) 
>     Find alpha that satisfies strong Wolfe conditions. 
>     Uses the line search algorithm to enforce strong Wolfe conditions 
>     Wright and Nocedal, 'Numerical Optimization', 1999, pg. 59-60 
>     For the zoom phase it uses an algorithm by 
>     Outputs: (alpha0, gc, fc) 
> -------------------------------------------------------------------- 
> So I need to know what are other args, especially gfk (is it a gradient 
> in point xk?), old_fval, old_old_fval (I guess I know what do c1 & c2 mean) 

This is certainly lacking documentation!  A little is here:
Can anyone help Dmitrey more?

Thank you,
Alan Isaac 

More information about the SciPy-user mailing list