Skip to content

Commit

Permalink
Add assignee to TODOs for clarity
Browse files Browse the repository at this point in the history
  • Loading branch information
BenChampion committed Dec 6, 2024
1 parent 478482e commit f63a5f0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/mip/HighsFeasibilityJump.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ void HighsMipSolverData::feasibilityJump() {
"HighsMipSolverData::feasibilityJump called with primal bound of %g\n",
lower_bound);
#ifdef HIGHSINT64
// TODO: make FJ work with 64-bit HighsInt
// TODO(BenChampion): make FJ work with 64-bit HighsInt
highsLogUser(log_options, HighsLogType::kInfo,
"Feasibility Jump code uses 'int' so isn't currently compatible "
"with a 64-bit HighsInt. Skipping Feasibility Jump.\n");
Expand Down Expand Up @@ -59,7 +59,7 @@ void HighsMipSolverData::feasibilityJump() {
"Detected infeasible column bounds. Skipping Feasibility Jump");
return;
}
// TODO: any other cases where infinite bounds are problematic?
// TODO(BenChampion): any other cases where infinite bounds are problematic?
double initial_assignment = 0;
if (std::isfinite(model->col_lower_[i])) {
initial_assignment = model->col_lower_[i];
Expand All @@ -69,7 +69,7 @@ void HighsMipSolverData::feasibilityJump() {
col_value[i] = initial_assignment;
}

// TODO: 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 Expand Up @@ -129,7 +129,7 @@ void HighsMipSolverData::feasibilityJump() {
};

solver.solve(col_value.data(), fjControlCallback);
// TODO: remove all DEBUG
// TODO(BenChampion): remove all DEBUG
if (found_integer_feasible_solution) {
// Feasibility jump has found a solution, so call addIncumbent to
// (possibly) update the incumbent
Expand Down

0 comments on commit f63a5f0

Please sign in to comment.