[SciPy-User] could you explain the line_search method?

devdoer bird devdoer2 at gmail.com
Fri Dec 2 03:40:48 EST 2011


HI:

Sorry to post here if it's  not a  proper question.

I'm reading the source code of line_search function in optimize.py , and
there's a statement to compute the initial step alpha , listed below:



alpha1 = pymin(1.0, 1.01*2*(phi0-old_old_fval)/derphi0)


I don't what's the physical meaning of 1.01*2*(phi0-old_old_fval)/derphi0,

Can some one give me some explaination?

Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.scipy.org/pipermail/scipy-user/attachments/20111202/6f783347/attachment.html>


More information about the SciPy-User mailing list