EvaluatedIndicatorConstraint#
- class EvaluatedIndicatorConstraint#
An owned evaluated indicator result. Fetched by typed ID from the owning result’s constraints collection.
- __eq__(other: object, /) bool#
- is_feasible(*, atol: float) bool#
Compare the stored violation with atol without changing activation diagnostics.
- violation() float#
Nonnegative violation retained by the evaluation.
- property activation_atol: float#
Read-only property.
Tolerance used when the activation diagnostic was computed.
- property equality: Equality#
Read-only property.
Equality of the inner constraint.
- property evaluated_value: float#
Read-only property.
Inner residual at the evaluated state.
- property inactive_reason: Optional[str]#
Read-only property.
Reason this constraint was deactivated before evaluation, or None.
- property inactive_reason_parameters: dict[str, str]#
Read-only property.
Parameters of the inactivation reason; empty for an active constraint.
- property indicator_on: bool#
Read-only property.
Whether the indicator was ON at evaluation time, independently of role.
- property indicator_variable_id: int#
Read-only property.
Binary decision variable controlling when the body is enforced.
- 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 role: ConstraintRole#
Read-only property.
- property subscripts: list[int]#
Read-only property.
Modeling subscripts.
- property trigger_value: int#
Read-only property.
Binary value (0 or 1) at which the body is enforced.
- property used_decision_variable_ids: set[int]#
Read-only property.
IDs of decision variables used to evaluate this constraint.