Variable¶
- class Variable¶
Class for variable information. Instances are typically obtained via
as_variable()orvariables.Methods
Attributes
Variable ID number.
Lower bound of the variable.
Variable name.
Variable type.
Upper bound of the variable.
- __init__(*args, **kwargs)¶
- property id¶
Variable ID number.
An integer assigned starting from
0in order of issuance.- 戻り値の型:
- property lower_bound¶
Lower bound of the variable.
This property is valid for Integer or Real variables.
Nonemeans \(-\infty\).- 戻り値の型:
float | None
- property type¶
Variable type.
- 戻り値:
Corresponding value in
VariableType.- 戻り値の型: