sasoptpy.Model.get_variable_value

Model.get_variable_value(self, var)[source]

Returns the value of a variable

Parameters
varVariable or string

Variable reference

Notes

  • It is possible to get a variable’s value by using the Variable.get_value() method, as long as the variable is not abstract.

  • This method is a wrapper around Variable.get_value() and an overlook function for model components.