Skip to content

Commit

Permalink
r2676 from trunk; aka 4688136; fixes #142
Browse files Browse the repository at this point in the history
  • Loading branch information
svigerske committed Apr 11, 2020
1 parent f6c9332 commit 0531fbb
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Clp/src/ClpModel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3691,7 +3691,6 @@ int ClpModel::emptyProblem(int *infeasNumber, double *infeasSum, bool printMessa
columnActivity_[i] = columnUpper_[i];
status_[i] = 2;
numberDualInfeasibilities++;
;
sumDualInfeasibilities += fabs(objValue);
badColumn = i;
badValue = -1.0;
Expand All @@ -3706,7 +3705,6 @@ int ClpModel::emptyProblem(int *infeasNumber, double *infeasSum, bool printMessa
columnActivity_[i] = columnLower_[i];
status_[i] = 3;
numberDualInfeasibilities++;
;
sumDualInfeasibilities += fabs(objValue);
badColumn = i;
badValue = 1.0;
Expand All @@ -3718,7 +3716,8 @@ int ClpModel::emptyProblem(int *infeasNumber, double *infeasSum, bool printMessa
columnActivity_[i] = 0.0;
if (objValue) {
numberDualInfeasibilities++;
;
badColumn = i;
badValue = (objValue > 0.0) ? -1.0 : 1.0;

This comment has been minimized.

Copy link
@Mizux

Mizux Sep 28, 2021

wrong indent tab instead of space...

sumDualInfeasibilities += fabs(objValue);
returnCode |= 2;
}
Expand Down

0 comments on commit 0531fbb

Please sign in to comment.