On Thursday, October 10, 2013 12:30:18 AM UTC+4, Pablo Puente wrote:
>
> It would be nice to support functions or more than one variable, for 
> example a special function for 2 variables could be:
>
> def _minimize2(expr, x, y):
>

1) You should be aware about saddle points.
 

>     if f(oo,oo) < m:
>         m = f(oo,oo) 
>         mp = (oo,oo)
>     if f(-oo,-oo) < m:
>         m = f(-oo,-oo)
>         mp = (-oo,-oo)
>     if f(oo,-oo) < m:
>         m = f(oo,-oo)
>         mp = (oo,-oo)
>     if f(-oo,oo) < m:
>         m = f(-oo,oo)
>         mp = (-oo,oo)
>

2) Extremum could be on f(x, oo) as well...
 

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sympy.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to