You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Notice that in p1 there is no collapsing of redundant args (the ones that are indented). This leads to a spurious "0 expression" near the end that prevents solve from solving this expression for x = 10/3.
If simple univariate clauses like (x > 0) & (x > 6) & (x < 10) would auto-simplify to (x > 6) & (x < 10) this would help. Is that too much automatic evaluation, however?
Also, I see that boolalg.simplify_univariate and piecewise.piecewise_simplify_arguments have some overlap and one can perhaps use the other.
The text was updated successfully, but these errors were encountered:
Consider the following two Piecewise expresions: one with mostly nonstrict relationships:
Notice that in p1 there is no collapsing of redundant args (the ones that are indented). This leads to a spurious "0 expression" near the end that prevents solve from solving this expression for
x = 10/3
.If simple univariate clauses like
(x > 0) & (x > 6) & (x < 10)
would auto-simplify to(x > 6) & (x < 10)
this would help. Is that too much automatic evaluation, however?Also, I see that boolalg.simplify_univariate and piecewise.piecewise_simplify_arguments have some overlap and one can perhaps use the other.
The text was updated successfully, but these errors were encountered: