[SciPy-user] bug fixes + changes to scipy.optimize

Alexandre Guimond alexandre.guimond at mirada-solutions.com
Thu Jun 8 02:55:19 CDT 2006


Hello.

 

I've fixed a small bug in scipy.optimize.brent where the maximum number
of iterations was not taken into account. 

 

I've also made changes so that:

 

1) it is possible to specify the initial direction set used in powell

2) set bracket parameters from higher level calls such as powell. For
example, it allows to do:

 

scipy.optimize.fmin_powell( lambda x: - sm.Ll( x ),

                            bracket_keywords = { 'grow_limit': 10 } )

 

 

Note that changes in 2) are incomplete in the sense that similar changes
could also be done for brent parameters as well as to golden, etc. in
order to keep a consistence interface. I could finish this if the patch
was to be included in scipy. Let me know.

 

The patch is attached. This is against scipy 0.4.9

 

best

 

alex

 

 



NOTICE: This e-mail message and all attachments
transmitted with it may contain legally privileged and
confidential information intended solely for the use of
the addressee. If the reader of this message is not the
intended recipient, you are hereby notified that any
reading, dissemination, distribution, copying, or other
use of this message or its attachments, hyperlinks, or
any other files of any kind is strictly prohibited. If you
have received this message in error, please notify the
sender immediately by telephone (+44-1865-265500) or by
a reply to this electronic mail message and delete this
message and all copies and backups thereof.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.scipy.net/pipermail/scipy-user/attachments/20060608/01998949/attachment-0001.htm
-------------- next part --------------
A non-text attachment was scrubbed...
Name: optimize.py
Type: application/octet-stream
Size: 55028 bytes
Desc: optimize.py
Url : http://www.scipy.net/pipermail/scipy-user/attachments/20060608/01998949/optimize-0001.obj


More information about the SciPy-user mailing list