sasoptpy.Model.get_parameters

Model.get_parameters(self)[source]

Returns a list of abstract.Parameter and abstract.ParameterGroup objects in the model

Returns
param_listlist

List of parameters in the model

Examples

>>> for i in m.get_parameters():
...     print(i.get_name(), type(i))
p <class 'sasoptpy.abstract.parameter_group.ParameterGroup'>
r <class 'sasoptpy.abstract.parameter.Parameter'>