InactiveSos1Constraint

InactiveSos1Constraint#

class InactiveSos1Constraint#

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

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

Read-only property.

property description: Optional[str]#

Read-only property.

property inactive_reason: str#

Read-only property.

property inactive_reason_parameters: dict[str, str]#

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 variables: list[int]#

Read-only property.