advent-of-code/typings/docplex/mp/constr.pyi

16 lines
610 B
Python
Raw Normal View History

2024-12-03 13:11:29 +00:00
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): ...