1 core.expressions.Variable

core.expressions.Variable(name, lb=None, ub=None, domain='continuous')

A decision variable in an optimization problem.

1.1 Parameters

Name Type Description Default
name str Unique identifier for this variable. required
lb float | None Lower bound (None for unbounded). None
ub float | None Upper bound (None for unbounded). None
domain Literal['continuous', 'integer', 'binary'] Variable type - ‘continuous’, ‘integer’, or ‘binary’. 'continuous'