sasoptpy.Variable.get_name

Variable.get_name(self)[source]

Returns the name of the object

Returns
namestring

Name of the object

Examples

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