-
Notifications
You must be signed in to change notification settings - Fork 562
New GAMS solver interface, writer, and solution loader. #3683
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
AnhTran01
wants to merge
35
commits into
Pyomo:main
Choose a base branch
from
AnhTran01:GAMS_new_solver_interface
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+1,935
−0
Open
Changes from 1 commit
Commits
Show all changes
35 commits
Select commit
Hold shift + click to select a range
1177492
Added new GAMS solver interface, writer, and solution loader. WIP: un…
2385654
Ran black -S -C on commited files
b36086f
Typo!
mrmundt e91e480
Added ignore checking for constant in the objective function during w…
b060096
Added support for add_options for multiple solver_options
96ba646
typo
b0f16a3
ran black formatter
dde656c
added add_options in the solver_interface
3476f72
Fixed bug with unable to create tmpdir. Updated test_gams_v2.py
ddfd98c
Merge branch 'main' into GAMS_new_solver_interface
AnhTran01 eb0a3db
Added handling single bounded variable case (None,#) or (#, None)
c6d2d01
Match solver interface and writer configs to prevent implicit definit…
2a6dcb7
Added new gams solver interface for test_all_solvers_list()
b6ead27
Fixed bug of handling valid ub when writing pyomo expression
89f80e0
Fixed bug when using ComponentMap to extract duals in gms_sol_reader.py
b0c3450
Corrected handling of solution_loader. Implemented bounded constraint…
a9df1d7
Added offdigit based on error log message suggestion
e04c89f
Merge branch 'main' into GAMS_new_solver_interface
mrmundt 518758e
Fixed bug of extracting constraint dual when alias exits (for bounded…
a2ef9cc
Added aliases as part of parse_dat_results to be consistent with pars…
c33095d
Removed code duplication between the solver interface and writer by p…
f609ca2
Revised code based on John's review. WIP: Handling rehash within avai…
ec5aa6a
Re-added config into available and version, and deprecated test that …
e760a1c
Merge branch 'main' into GAMS_new_solver_interface
mrmundt 7bb817b
Sanity check config.writer_config.put_results_format without setdefault
72beeaf
Allow user to modify writer config via solver_options. Fixed bug of s…
3dc83ca
Merge branch 'Pyomo:main' into GAMS_new_solver_interface
AnhTran01 5c87b75
Corrected exeception type raised when solver return infeasible. Added…
d6aa9ff
Corrected test_gams_v2.py to match error raised. Corrected error mess…
aba0eed
Merge branch 'Pyomo:main' into GAMS_new_solver_interface
AnhTran01 f85d217
Prevent rewrite of termination condition in modelstat if the value is…
0e94742
Added an gams_solver_options (handled via solver_option in solve). Ad…
9d5758e
Divided solver and model termination condition into separate config.
d1285e3
Merge branch 'Pyomo:main' into GAMS_new_solver_interface
AnhTran01 2973d9c
Added unittest skipif for linux_3.9_slim and linux_3.12_numpy failed …
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what was the error that you were seeing that prompted this addition? maybe something was being set above
1e300?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
in the previous commit test (b0c3450), the listing file output error message is "Too many digits in number $offdigit can be used to ignore trailing digits"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
but do you know what triggered this? which test was causing this error?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I went back to check the failed test. The following tests that triggered the "Too many digits error" are:
By testing locally, I see there are trailing decimal places and not the cases of
1e300or large numbers.