[Scipy-tickets] [SciPy] #1086: scipy.optimize.brute : doesn't not respect ranges ?

SciPy Trac scipy-tickets@scipy....
Tue Jan 19 08:28:50 CST 2010

#1086: scipy.optimize.brute : doesn't not respect ranges ?
 Reporter:  lboussouf       |       Owner:  somebody
     Type:  defect          |      Status:  new     
 Priority:  normal          |   Milestone:  0.8.0   
Component:  scipy.optimize  |     Version:  0.7.0   
 Keywords:  brute range     |  

Comment(by lboussouf):

 I finally found my mistake :

 scipy.optimize.brute calls a algorithm after its own search : fmin is
 To respect ranges, I set "finish" argument to None.

 scipy.optimize.brute(f, myranges,Ns=2,finish=None)

 I didn't read the documentation enough...

 Anyway, maybe it would be a good idea to set default algorithm to a
 constrained algorithm instead of fmin ...

Ticket URL: <http://projects.scipy.org/scipy/ticket/1086#comment:1>
SciPy <http://www.scipy.org>
SciPy is open-source software for mathematics, science, and engineering.

More information about the Scipy-tickets mailing list