-
Notifications
You must be signed in to change notification settings - Fork 148
Implement UnboundedOrInfeasible termination status #941
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
rg20
wants to merge
12
commits into
NVIDIA:release/26.04
Choose a base branch
from
rg20:issue_923
base: release/26.04
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.
+362
−225
Open
Changes from all commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
d26c753
Add UnboundedOrInfeasible termination status
rg20 da2b1a1
Update docs
rg20 b8c02d3
Handle unbounded from papilo
rg20 165854c
Fix compilation errors
rg20 7eebe2b
Merge remote-tracking branch 'upstream/main' into issue_923
rg20 07c9d19
Merge remote-tracking branch 'upstream/release/26.04' into issue_923
rg20 73bfe8b
Fix style errors
rg20 ee34bf5
Merge remote-tracking branch 'upstream/release/26.04' into issue_923
rg20 3b80055
Fix compiler warning
rg20 19489e5
Add missing status names
rg20 9ce4081
Correctly return the status for dual simplex
rg20 2a278b3
Fix typo
rg20 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
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
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
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -23,16 +23,17 @@ template <typename i_t, typename f_t> | |
| bool is_mip(const user_problem_t<i_t, f_t>& problem); | ||
|
|
||
| enum class lp_status_t { | ||
| OPTIMAL = 0, | ||
| INFEASIBLE = 1, | ||
| UNBOUNDED = 2, | ||
| ITERATION_LIMIT = 3, | ||
| TIME_LIMIT = 4, | ||
| NUMERICAL_ISSUES = 5, | ||
| CUTOFF = 6, | ||
| CONCURRENT_LIMIT = 7, | ||
| WORK_LIMIT = 8, | ||
| UNSET = 9 | ||
| OPTIMAL = 0, | ||
| INFEASIBLE = 1, | ||
| UNBOUNDED = 2, | ||
| ITERATION_LIMIT = 3, | ||
| TIME_LIMIT = 4, | ||
| NUMERICAL_ISSUES = 5, | ||
| CUTOFF = 6, | ||
| CONCURRENT_LIMIT = 7, | ||
| WORK_LIMIT = 8, | ||
| UNBOUNDED_OR_INFEASIBLE = 9, | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Would you mind moving this up next to INFEASIBLE =2 and UNBOUNDED=3? |
||
| UNSET = 10 | ||
| }; | ||
|
|
||
| static std::string lp_status_to_string(lp_status_t status) | ||
|
|
@@ -47,6 +48,7 @@ static std::string lp_status_to_string(lp_status_t status) | |
| case lp_status_t::CUTOFF: return "CUTOFF"; | ||
| case lp_status_t::CONCURRENT_LIMIT: return "CONCURRENT_LIMIT"; | ||
| case lp_status_t::WORK_LIMIT: return "WORK_LIMIT"; | ||
| case lp_status_t::UNBOUNDED_OR_INFEASIBLE: return "UNBOUNDED_OR_INFEASIBLE"; | ||
| case lp_status_t::UNSET: return "UNSET"; | ||
| } | ||
| return "UNKNOWN"; | ||
|
|
||
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
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
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
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.
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.
We should also return this new status when dual simplex is unable to find a feasible point in dual phase 1.