Variable.as_tuple

Variable.as_tuple()[source]

Returns a tuple corresponding to this variable.

Return type

Tuple[str, Union[float, int], Union[float, int], VarType]

Returns

A tuple corresponding to this variable consisting of name, lowerbound, upperbound and variable type.