advent-of-code/typings/docplex/mp/operand.pyi
Mikael CAPELLE b32d46b641 Fix linting.
2024-12-03 14:11:29 +01:00

13 lines
501 B
Python

from __future__ import annotations
from docplex.mp.constr import BinaryConstraint, NotEqualConstraint
class Operand:
def negate(self) -> Operand: ...
def __le__(self, other: Operand | float) -> BinaryConstraint: ...
def __ge__(self, other: Operand | float) -> BinaryConstraint: ...
def __eq__(self, other: Operand | float) -> BinaryConstraint: ... # type: ignore
class LinearOperand(Operand):
def __ne__(self, other: Operand | float) -> NotEqualConstraint: ... # type: ignore