Bug fix: solution incorrect when simplex presolve removes empty columns#29
Merged
rapids-bot[bot] merged 4 commits intoNVIDIA:branch-25.05from May 23, 2025
chris-maes:fix_presolve_removed_empty_cols
Merged
Bug fix: solution incorrect when simplex presolve removes empty columns#29rapids-bot[bot] merged 4 commits intoNVIDIA:branch-25.05from chris-maes:fix_presolve_removed_empty_cols
rapids-bot[bot] merged 4 commits intoNVIDIA:branch-25.05from
chris-maes:fix_presolve_removed_empty_cols
Conversation
Contributor
Author
|
/ok to test f622513 |
rg20
reviewed
May 22, 2025
Contributor
Author
|
/ok to test 769771f |
rg20
approved these changes
May 22, 2025
Contributor
Author
|
/ok to test f7d243e |
Contributor
Author
|
/ok to test de78eb6 |
Contributor
|
/merge |
jieyibi
pushed a commit
to yining043/cuopt
that referenced
this pull request
Mar 26, 2026
…ns (NVIDIA#29) Fixes an issue reported on the following MPS file, where `_dummy` variable does not appear in the constraints. We remove empty columns (and thus `_dummy`) in presolve for dual simplex. But do not take this into account when constructing the solution. Further work, is needed to develop an actual LP presolve. ``` *SENSE:Minimize NAME test_export_dict_LP_no_obj ROWS N OBJ G c1 E c2 L c3 G c4 COLUMNS __dummy OBJ 1.000000000000e+00 w c4 1.000000000000e+00 x c1 1.000000000000e+00 x c2 1.000000000000e+00 y c1 1.000000000000e+00 y c3 -1.000000000000e+00 z c2 1.000000000000e+00 z c3 1.000000000000e+00 RHS RHS c1 5.000000000000e+00 RHS c2 1.000000000000e+01 RHS c3 7.000000000000e+00 RHS c4 0.000000000000e+00 BOUNDS FX BND __dummy 0.000000000000e+00 FX BND w 0.000000000000e+00 UP BND x 4.000000000000e+00 LO BND y -1.000000000000e+00 UP BND y 1.000000000000e+00 ``` Fixes NVIDIA#13 which was caused by an issue in column scaling when the norm of a column is zero. Authors: - Chris Maes (https://github.com/chris-maes) Approvers: - Rajesh Gandham (https://github.com/rg20) - Nicolas Blin (https://github.com/Kh4ster) URL: NVIDIA#29
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.
Fixes an issue reported on the following MPS file, where
_dummyvariable does not appear in the constraints. We remove empty columns (and thus_dummy) in presolve for dual simplex. But do not take this into account when constructing the solution.Further work, is needed to develop an actual LP presolve.
Fixes #13 which was caused by an issue in column scaling when the norm of a column is zero.