From cd80bd5dc7495b1d51ef0e7338701465011f7d0a Mon Sep 17 00:00:00 2001 From: JAJHall Date: Mon, 9 Sep 2024 17:19:58 +0100 Subject: [PATCH] Formatted with Ubuntu clang-format version 14.0.0-1ubuntu1.1 --- src/lp_data/HighsSolve.cpp | 2 +- src/test/DevKkt.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/lp_data/HighsSolve.cpp b/src/lp_data/HighsSolve.cpp index b1a33476fb..d839bfb88d 100644 --- a/src/lp_data/HighsSolve.cpp +++ b/src/lp_data/HighsSolve.cpp @@ -127,7 +127,7 @@ HighsStatus solveLp(HighsLpSolverObject& solver_object, const string message) { return HighsStatus::kError; } } // options.run_crossover == kHighsOnString - } // unwelcome_ipx_status + } // unwelcome_ipx_status } else { // PDLP has been used, so check whether claim of optimality // satisfies the HiGHS criteria diff --git a/src/test/DevKkt.cpp b/src/test/DevKkt.cpp index 47941d9fd6..de393f7bf1 100644 --- a/src/test/DevKkt.cpp +++ b/src/test/DevKkt.cpp @@ -261,8 +261,8 @@ void checkComplementarySlackness(const State& state, if (fabs(state.colDual[i]) > tol && fabs(state.colValue[i] - state.colUpper[i]) > tol) { if (dev_print) - std::cout << "Comp. slackness fail: " << "l[" << i - << "]=" << state.colLower[i] << ", x[" << i + std::cout << "Comp. slackness fail: " + << "l[" << i << "]=" << state.colLower[i] << ", x[" << i << "]=" << state.colValue[i] << ", z[" << i << "]=" << state.colDual[i] << std::endl; infeas = fabs(state.colDual[i]);