SampledIndicatorConstraint#
- class SampledIndicatorConstraint#
An owned sampled indicator result. Fetched by typed ID from the owning result’s constraints collection.
- __eq__(other: object, /) bool#
- feasible(*, atol: float) dict[int, bool]#
Compare each stored violation with atol without changing activation diagnostics.
- property activation_atol: float#
Read-only property.
Tolerance used when the activation diagnostics were computed.
- property equality: Equality#
Read-only property.
Equality of the inner constraint.
- property evaluated_values: dict[int, float]#
Read-only property.
Inner residuals keyed by sample ID.
- property indicator_active: dict[int, bool]#
Read-only property.
Activation diagnostics keyed by sample ID.
- property indicator_variable_id: int#
Read-only property.
Decision variable that activates this constraint.
- property parameters: dict[str, str]#
Read-only property.
Modeling parameters.
- property provenance: list[Provenance]#
Read-only property.
Transformation lineage, preserving the source constraint family.
- property removed_reason: Optional[str]#
Read-only property.
Reason this constraint was removed before evaluation, or None.
- property removed_reason_parameters: dict[str, str]#
Read-only property.
Parameters of the removal reason; empty for an active constraint.
- property subscripts: list[int]#
Read-only property.
Modeling subscripts.
- property used_decision_variable_ids: set[int]#
Read-only property.
IDs of decision variables used to evaluate this constraint.
- property violations: dict[int, float]#
Read-only property.
Nonnegative violations keyed by sample ID.