| 165 | } |
| 166 | |
| 167 | void HighsDebugSol::checkCut(const HighsInt* Rindex, const double* Rvalue, |
| 168 | HighsInt Rlen, double rhs) { |
| 169 | if (!debugSolActive) return; |
| 170 | |
| 171 | HighsCDouble violation = -rhs; |
| 172 | |
| 173 | for (HighsInt i = 0; i != Rlen; ++i) |
| 174 | violation += debugSolution[Rindex[i]] * Rvalue[i]; |
| 175 | |
| 176 | assert(violation <= mipsolver->mipdata_->feastol); |
| 177 | } |
| 178 | |
| 179 | void HighsDebugSol::checkRowAggregation(const HighsLp& lp, |
| 180 | const HighsInt* Rindex, |
no outgoing calls
no test coverage detected