InactiveIndicatorConstraint

InactiveIndicatorConstraint#

class InactiveIndicatorConstraint#

An inactive indicator constraint together with the reason it was deactivated.

__eq__(other: object, /) → bool#
__new__(constraint: IndicatorConstraint, inactive_reason: str, inactive_reason_parameters: Optional[Mapping[str, str]] = None, *, skip_feasibility_check: bool = False) → InactiveIndicatorConstraint#
__repr__() → str#
property constraint: IndicatorConstraint#

Read-only property.

property description: Optional[str]#

Read-only property.

property equality: Equality#

Read-only property.

property function: Function#

Read-only property.

property inactive_reason: str#

Read-only property.

property inactive_reason_parameters: dict[str, str]#

Read-only property.

property indicator_variable_id: int#

Read-only property.

property name: Optional[str]#

Read-only property.

property parameters: dict[str, str]#

Read-only property.

property provenance: list[Provenance]#

Read-only property.

property role: ConstraintRole#

Read-only property.

property skip_feasibility_check: bool#

Read-only property.

property subscripts: list[int]#

Read-only property.

property trigger_value: int#

Read-only property.

Binary value (0 or 1) at which the body is enforced.