Skip to content

Commit ec3930a

Browse files
authored
Merge pull request #2644 from ERGO-Code/enhance-iis
Enhance IIS
2 parents c1065f3 + 5f994bd commit ec3930a

File tree

14 files changed

+876
-285
lines changed

14 files changed

+876
-285
lines changed

check/TestCAPI.c

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2141,10 +2141,13 @@ void testIis() {
21412141
//
21422142
// with variables in [0, 1], constraints 0 and 2 form an IIS with
21432143
//
2144-
// x free (so should be removed?); 0 <= y; 0 <= z
2144+
// x free; 0 <= y; 0 <= z
21452145
//
21462146
// x + y - z >= 2; x + 2y + z <= 1
21472147
//
2148+
// x may be free, but can't immediately be removed, otherwise
2149+
// removing y >= 0 yields an infeasible LP
2150+
//
21482151
ret = Highs_addCol(highs, 0.0, 0.0, 1.0, 0, NULL, NULL);
21492152
assert(ret == 0);
21502153
ret = Highs_addCol(highs, 0.0, 0.0, 1.0, 0, NULL, NULL);

0 commit comments

Comments
 (0)