Pyomo / pyomo

An object-oriented algebraic modeling language in Python for structured optimization problems.
https://www.pyomo.org
Other
1.9k stars 490 forks source link

pyomo.contrib.alternative_solutions #3270

Open whart222 opened 1 month ago

whart222 commented 1 month ago

Summary/Motivation:

A new contrib package for generating alternative solutions

Changes proposed in this PR:

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:

  1. I agree my contributions are submitted under the BSD license.
  2. 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.
whart222 commented 1 month ago

I have one generate concern about this PR, which is the fact that the appsi- and non-appsi- solver interfaces are different enough that there are many explicit checks for the solver type with different logic. I know that there have been efforts to standardize the solver interfaces, so perhaps we can resolve some of these discrepancies? I tried without luck a month or so ago.

emma58 commented 2 weeks ago

@whart222, if you're ready for me to start looking at this would you run black? Then the rest of the tests will run. Thank you!