[SciPy-User] fsolve with restriction on variable
Mon Aug 3 13:13:03 CDT 2009
Warren, thanks for your input.
Do you know a way to add constraints to fsolve, or some other root finding
technique? If there's no other option, I'll have to go with Harald's
suggestion, even if it is slow to converge.
Also, does anyone know what the input format is for these minimization
techniques (fmin_l_bfgs_b, fmin_tnc, fmin_cobyla), I tried
On Mon, Aug 3, 2009 at 1:55 PM, Warren Weckesser <
> Harald Schilly wrote:
> > On Mon, Aug 3, 2009 at 19:24, Ashley DaSilva<email@example.com> wrote:
> >> t I don't
> >> want to find the minimum/maximum of my function, I want to find the
> > Very generally speaking, you can always find the root by minimization,
> > if you square your function (simply because no negative values are
> > possible)!
> > H
> > _______________________________________________
> > SciPy-User mailing list
> > SciPy-User@scipy.org
> > http://mail.scipy.org/mailman/listinfo/scipy-user
> But this is generally a poor method for finding a root. It kills the
> quadratic convergence of Newton's method, which is at the heart (in some
> form or another) of most good root-finding algorithms.
> Warren Weckesser
> Enthought, Inc.
> 515 Congress Avenue, Suite 2100
> Austin, TX 78701
> SciPy-User mailing list
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the SciPy-User