sasoptpy.Model.get_sets

Model.get_sets(self)[source]

Returns a list of Set objects in the model

Returns
set_listlist

List of sets in the model

Examples

>>> m.get_sets()
[sasoptpy.abstract.Set(name=W, settype=['str', 'num']), sasoptpy.abstract.Set(name=I, settype=['num']), sasoptpy.abstract.Set(name=J, settype=['num'])]