[SciPy-dev] one more scipy.optimize.line_search question

dmitrey openopt@ukr....
Mon Aug 6 15:46:54 CDT 2007


dmitrey wrote:
> Alan G Isaac wrote:
>   
>> On Mon, 06 Aug 2007, dmitrey apparently wrote:
>>   
>>     
>>> I wonder what does the parameter amax=50 mean (in 
>>> optimize.line_search func)?  Seems like this parameter is 
>>> never used in the func
>>>     
>>>       
>> Is there something wrong with the minpack2 documentation?
>>
>> c       stpmax is a double precision variable.
>> c         On entry stpmax is a nonnegative upper bound for the step.
>> c         On exit stpmax is unchanged.
>>   
>>     
> the line_search func from scipy.optimize has no any relation to the 
> fortran routine you have mentioned.
> Maybe you mean line_search func from scipy.optimize.linesearch, but as I 
> mentioned, scipy has 2 funcs line_search, one python-written (from 
> optimize.py), other from /optimize/linesearch.py.
> So, as I have mentioned, amax is unused in scipy.optimize.linesearch
>   
sorry, I meant in scipy.optimize.line_search, this is another one 
consequence from the ambiguity.

D.



More information about the Scipy-dev mailing list