SampledConstraint#
- class SampledConstraint#
- __eq__(other: object, /) bool#
- feasible(*, atol: float) dict[int, bool]#
Compute feasibility for every sample using the supplied tolerance.
This query does not re-evaluate the functions or change stored values.
- 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 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.
Get the used decision variable IDs
- property violations: dict[int, float]#
Read-only property.
Nonnegative violations keyed by sample ID.