Skip to content

Commit ee95302

Browse files
authored
Merge pull request #3054 from jsiirola/writers-improved-determinism
Improve writer determinism
2 parents 91729ba + 1aaf571 commit ee95302

15 files changed

+474
-320
lines changed

pyomo/core/base/enums.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ class SortComponents(enum.Flag, **strictEnum):
5959
alphabeticalOrder = alphaOrder
6060
alphabetical = alphaOrder
6161
# both alpha and decl orders are deterministic, so only must sort indices
62-
deterministic = indices
62+
deterministic = ORDERED_INDICES
6363
sortBoth = indices | alphabeticalOrder # Same as True
6464
alphabetizeComponentAndIndex = sortBoth
6565

0 commit comments

Comments
 (0)