Skip to content

Commit

Permalink
clang-format
Browse files Browse the repository at this point in the history
  • Loading branch information
BenChampion committed Dec 6, 2024
1 parent f63a5f0 commit 34145f0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion src/mip/HighsFeasibilityJump.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,8 @@ void HighsMipSolverData::feasibilityJump() {
col_value[i] = initial_assignment;
}

// TODO(BenChampion): make a row-wise copy of model->a_matrix_ and remove these buffers
// TODO(BenChampion): make a row-wise copy of model->a_matrix_ and remove
// these buffers
HighsInt row_num_nz;
HighsInt* row_index_buffer = new HighsInt[model->num_col_];
double* row_value_buffer = new double[model->num_col_];
Expand Down
5 changes: 3 additions & 2 deletions src/mip/feasibilityjump.hh
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,7 @@ class JumpMove {
bestShiftBuffer.emplace_back(validRange.second, constraint.weight);
}
}
//TODO(BenChampion): is there a better way to handle non-finite bounds?
// TODO(BenChampion): is there a better way to handle non-finite bounds?
if (std::isfinite(problem.vars[varIdx].lb)) {
bestShiftBuffer.emplace_back(problem.vars[varIdx].lb, 0);
}
Expand Down Expand Up @@ -565,7 +565,8 @@ class FeasibilityJumpSolver {
bestVarIdx = cell.idx;
}
}
// TODO(BenChampion): is there a better way to handle or prevent this case?
// TODO(BenChampion): is there a better way to handle or prevent this
// case?
if (bestVarIdx != UINT_MAX) {
return bestVarIdx;
}
Expand Down

0 comments on commit 34145f0

Please sign in to comment.