SampledDecisionVariable

SampledDecisionVariable#

class SampledDecisionVariable#
from_bytes(bytes: bytes) SampledDecisionVariable#
to_bytes() bytes#
property bound: Bound#

Read-only property.

Get the decision variable bound

property description: Optional[str]#

Read-only property.

Get the description

property id: int#

Read-only property.

Get the decision variable ID

property kind: Kind#

Read-only property.

Get the decision variable kind

property name: Optional[str]#

Read-only property.

Get the decision variable name

property parameters: dict[str, str]#

Read-only property.

Get the parameters

property samples: dict[int, float]#

Read-only property.

Get the sampled values for all samples

property subscripts: list[int]#

Read-only property.

Get the subscripts