sasoptpy.VariableGroup.get_name

VariableGroup.get_name(self)[source]

Returns the name of the variable group

Returns
namestring

Name of the variable group

Examples

>>> m = so.Model(name='m')
>>> var1 = m.add_variables(4, name='x')
>>> print(var1.get_name())
x