Skip to content

Commit 424d169

Browse files
committed
Fix comment
1 parent 5f975dd commit 424d169

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

highs/presolve/HPresolve.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4030,7 +4030,8 @@ HPresolve::Result HPresolve::rowPresolve(HighsPostsolveStack& postsolve_stack,
40304030
}
40314031
};
40324032

4033-
// direction = 1: <= constraint, direction = -1: >= constraint
4033+
// convert to >= inequality
4034+
// direction = -1: <= constraint, direction = 1: >= constraint
40344035
HighsInt direction =
40354036
model->row_upper_[row] != kHighsInf ? HighsInt{-1} : HighsInt{1};
40364037
// get rhs

0 commit comments

Comments
 (0)