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

william ratcliff william.ratcliff@gmail....
Thu Jun 11 04:35:56 CDT 2009


Or if you want, I can post my ansatz again, which will respect bounds on the
parameters, which I really think is what most people expect.  Basically, if
a montecarlo step would go outside of the box defined by the upper and lower
bounds on the parameters, I stay at the current location and try again the
next turn to see if I move.
Cheers,
William

On Thu, Jun 11, 2009 at 4:09 AM, Scott Sinclair <scott.sinclair.za@gmail.com
> wrote:

> > 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
> _______________________________________________
> SciPy-user mailing list
> SciPy-user@scipy.org
> http://mail.scipy.org/mailman/listinfo/scipy-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/scipy-user/attachments/20090611/67caabf8/attachment.html 


More information about the SciPy-user mailing list