Skip to content

Commit

Permalink
ModelExplorer: sort flat con types #232
Browse files Browse the repository at this point in the history
  • Loading branch information
glebbelov committed Mar 20, 2024
1 parent 480085a commit 87b7134
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion support/modelexplore/scripts/python/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ def MatchFinalModel(self, keyw):
result = {}
result["Variables"] = self._matchRecords(self._vars, keyw)
result["Objectives"] = self._matchRecords(self._objs, keyw)
for ct, cv in self._cons_Flat.items():
for ct, cv in sorted(self._cons_Flat.items()):
result["Constraints '" + ct + "'"] \
= self._matchRecords(self._cons_Flat[ct], keyw)
return result
Expand Down

0 comments on commit 87b7134

Please sign in to comment.