SampledConstraint

SampledConstraint#

class SampledConstraint#
from_bytes(bytes: bytes) SampledConstraint#
to_bytes() bytes#
property description: Optional[str]#

Read-only property.

Get the description

property equality: Equality#

Read-only property.

Get the constraint equality type

property evaluated_values: dict[int, float]#

Read-only property.

Get the evaluated values for all samples

property feasible: dict[int, bool]#

Read-only property.

Get the feasibility status for all samples

property id: int#

Read-only property.

Get the constraint ID

property name: Optional[str]#

Read-only property.

Get the constraint name

property removed_reason: Optional[str]#

Read-only property.

Get the removal reason

property removed_reason_parameters: dict[str, str]#

Read-only property.

Get the removal reason parameters

property subscripts: list[int]#

Read-only property.

Get the subscripts

property used_decision_variable_ids: set[int]#

Read-only property.

Get the used decision variable IDs