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
The current implementation of evaluate_condition only works properly if the result of a comparator operation is a boolean.
Some modules may return other types for comparisons, especially if they are building their own symbolic representation of an expression. For example, the pulp library for mixed linear integer programming returns an LpConstraint object from a comparison. This causes an exception here, because there is no bitwise and operator for bool & LpConstraint.
The text was updated successfully, but these errors were encountered:
The current implementation of
evaluate_condition
only works properly if the result of a comparator operation is a boolean.Some modules may return other types for comparisons, especially if they are building their own symbolic representation of an expression. For example, the
pulp
library for mixed linear integer programming returns anLpConstraint
object from a comparison. This causes an exception here, because there is no bitwise and operator forbool & LpConstraint
.The text was updated successfully, but these errors were encountered: