sympy Min/Max with assumptions #22515
georgebisbas
started this conversation in
Ideas
Replies: 1 comment 2 replies
-
if I understand things correctly, the idea is that one should be able to do this using |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Dear all at Sympy, congrats on your work!
I am trying to use sympy Min/Max to evaluate a set of variables.
I have looked at: https://docs.sympy.org/latest/modules/functions/elementary.html#min
and
https://docs.sympy.org/latest/guides/assumptions.html
e.g.
a, b, c, d (we have no knowledge for them)
sympy.Max(a,b,c,d) = Max(a,b,c,d)
In case I have the hypothesis that a>c can I somehow get
sympy.Min(a,b,c,d) = Min(a,b,d) ?
Any help appreciated,
best,
George
Beta Was this translation helpful? Give feedback.
All reactions