Skip to content

pyomo.contrib.alternative_solutions#3270

Merged
emma58 merged 107 commits intoPyomo:mainfrom
jlgearh:aos
Aug 14, 2024
Merged

pyomo.contrib.alternative_solutions#3270
emma58 merged 107 commits intoPyomo:mainfrom
jlgearh:aos

Conversation

@whart222
Copy link
Copy Markdown
Member

Summary/Motivation:

A new contrib package for generating alternative solutions

Changes proposed in this PR:

  • Adding pyomo.contrib.alternative_solutions

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.

jlgearh and others added 30 commits February 26, 2023 11:21
- Updated the solution.py to create a solution class.
- Combined var_utils.py with aos_utils.py
- Working on obbt and solution pool code and tests
- Updates tests cases with some new tests and some TODOs
…nd problem and found the extreme points and domain for a particular objective constraint
…itial development of code needed to put an LP in standard form.

- Create an initial working version of the lp_enum code.
whart222 and others added 16 commits August 8, 2024 08:39
1. Adding documentation to logcontext()

2. Removing mis-use of logcontext.
…ist instead of named constraints and updated associated tests
1. Exposing the logcontext class.

2. Adding warnings and debugging information for the balas function.  In
particular, this method now warns if no binary variables are found.

3. Reworking balas example to work with knapsack.
When the warmstart option is not supported by a solver
- Updated checks to make sure only an LP is passed
@emma58
Copy link
Copy Markdown
Contributor

emma58 commented Aug 13, 2024

@jlgearh, @whart222, I just opened #3342 to track planned changes not addressed in this PR. Please make sure I didn't miss anything when you get a chance.

…ly allow these methods to be applied for all variables. I will add this as a potential improvement for a future release but we need to work out the theory first.

- Made zero-tolerance an argument in lp_enum.py for consistency
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

No open projects

Development

Successfully merging this pull request may close these issues.

8 participants