Skip to content

Commit 91ff58f

Browse files
committed
Fix compiler warnings
1 parent f8a0595 commit 91ff58f

3 files changed

Lines changed: 7 additions & 2 deletions

File tree

highs/ipm/IpxWrapper.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1470,5 +1470,4 @@ HighsStatus reportHipoCrossoverStatus(const HighsOptions& options,
14701470
"Hipo: Crossover unrecognised status\n");
14711471
return HighsStatus::kError;
14721472
}
1473-
return HighsStatus::kError;
14741473
}

highs/lp_data/HighsIis.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ bool HighsIis::rowValueBounds(const HighsLp& lp, const HighsOptions& options) {
272272
}
273273
}
274274
bool below_lower = false;
275-
bool above_upper;
275+
bool above_upper = false;
276276
for (HighsInt iRow = 0; iRow < lp.num_row_; iRow++) {
277277
below_lower = upper_value[iRow] <
278278
lp.row_lower_[iRow] - options.primal_feasibility_tolerance;

highs/presolve/HighsPostsolveStack.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -339,6 +339,12 @@ class HighsPostsolveStack {
339339
case ReductionType::kSlackColSubstitution: {
340340
return "Slack col substitution";
341341
}
342+
case ReductionType::kImpliedEquation: {
343+
return "Implied equation";
344+
}
345+
case ReductionType::kZeroObjSingletonContinuousCol: {
346+
return "Zero obj singleton continuous col";
347+
}
342348
default:
343349
return "Unknown";
344350
}

0 commit comments

Comments
 (0)