SampledConstraint

SampledConstraint#

class SampledConstraint#
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 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 name: Optional[str]#

Read-only property.

Get the constraint name

property provenance: list[Provenance]#

Read-only property.

Get the provenance chain.

See provenance for semantics.

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