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: http://docs.neuroinf.de/api/scipy/scipy.optimize.optimize-pysrc.html#line_se... Can anyone help Dmitrey more? Thank you, Alan Isaac