pyomo.contrib.alternative_solutions#3270
Merged
emma58 merged 107 commits intoPyomo:mainfrom Aug 14, 2024
Merged
Conversation
…lutions contrib package.
- Updated the solution.py to create a solution class.
…o contrib package
- Combined var_utils.py with aos_utils.py
- Working on obbt and solution pool code and tests
- Removed old files - Updated test cases
- 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.
…in the shifted_lp.py code.
…d in shifted_lp.py
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
…to throw its own error
- Updated checks to make sure only an LP is passed
…for the component
8 tasks
Contributor
emma58
approved these changes
Aug 13, 2024
…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
mrmundt
reviewed
Aug 13, 2024
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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: