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

16 lines
610 B
Python

from __future__ import annotations
from docplex.mp.operand import LinearOperand
class AbstractConstraint: ...
class BinaryConstraint(AbstractConstraint): ...
class LinearConstraint(BinaryConstraint, LinearOperand): ...
class RangeConstraint(AbstractConstraint): ...
class NotEqualConstraint(LinearConstraint): ...
class LogicalConstraint(AbstractConstraint): ...
class IndicatorConstraint(LogicalConstraint): ...
class EquivalenceConstraint(LogicalConstraint): ...
class IfThenConstraint(IndicatorConstraint): ...
class QuadraticConstraint(BinaryConstraint): ...
class PwlConstraint(AbstractConstraint): ...