Skip to content

Commit f362f86

Browse files
authored
Merge pull request #2687 from ERGO-Code/fix-2686
Changed >= to > in definition of comparison for Highs::multiobjectiveSolve()
2 parents 19b13ec + b41588b commit f362f86

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

highs/lp_data/HighsInterface.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3952,7 +3952,7 @@ bool Highs::hasRepeatedLinearObjectivePriorities(
39523952

39533953
static bool comparison(std::pair<HighsInt, HighsInt> x1,
39543954
std::pair<HighsInt, HighsInt> x2) {
3955-
return x1.first >= x2.first;
3955+
return x1.first > x2.first;
39563956
}
39573957

39583958
HighsStatus Highs::returnFromLexicographicOptimization(

0 commit comments

Comments
 (0)