[SciPy-user] scipy.optimize.anneal - problem with lower and upper

Scott Sinclair scott.sinclair.za@gmail....
Thu Jun 11 03:09:29 CDT 2009


> 2009/6/11 Paul Rudin <paul@rudin.co.uk>:
>
> I'm experimenting with scipy.optimize.anneal, but I'm confused about the
> 'lower' and 'upper' arguments. I was expecting that this would limit the
> range of values passed to the function being optimized. However this
> appears not the be the case

If you're trying to put bounds on the parameters, you could try the
following in your objective function:

http://mail.scipy.org/pipermail/scipy-dev/2009-March/011465.html

Cheers,
Scott


More information about the SciPy-user mailing list