16 lines
610 B
Python
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): ...
|