Pyomo 6.1 deprecated __getitem__() for ordered Pyomo Sets
Changes proposed in this PR:
Replace all instances of __getitem__ with at for ordered Pyomo Sets.
Bump minimum Pyomo version to 6.1.2.
Legal Acknowledgement
By contributing to this software project, I have read the contribution guide and agree to the following terms and conditions for my contribution:
I agree my contributions are submitted under the BSD license.
I represent I am authorized to make the contributions and grant the license. If my employer has rights to intellectual property that includes these contributions, I represent that I have received permission to make contributions and grant the required license on behalf of that employer.
Fixes # N/A
Summary/Motivation:
Pyomo 6.1 deprecated
__getitem__()
for ordered Pyomo SetsChanges proposed in this PR:
__getitem__
withat
for ordered Pyomo Sets.Legal Acknowledgement
By contributing to this software project, I have read the contribution guide and agree to the following terms and conditions for my contribution: