Exemple #1
0
 def __ge__(self, other):
     return ElementwiseConstraint(self, other, ">=")
Exemple #2
0
 def __eq__(self, other):
     return ElementwiseConstraint(self, other, "==")
Exemple #3
0
 def __le__(self, other):
     # self <= other
     return ElementwiseConstraint(self, other, "<=")