Skip to content

Commit

Permalink
Fix (consistent) typo in variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
BenChampion committed Dec 2, 2024
1 parent 4a63e66 commit 5eed012
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/mip/HighsFeasibilityJump.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ void HighsMipSolverData::feasibilityJump() {
lower_bound);

const HighsInt MAX_TOTAL_EFFORT = 1e6;
const HighsInt MAX_EFFORT_SINCE_LAST_IMPOVEMENT = 1e3;
const HighsInt MAX_EFFORT_SINCE_LAST_IMPROVEMENT = 1e3;

bool found_integer_feasible_solution = false;
std::vector<double> col_value(model->num_col_, 0.0);
Expand Down Expand Up @@ -98,7 +98,7 @@ void HighsMipSolverData::feasibilityJump() {
status.solution + status.numVars);
objective_function_value = status.solutionObjectiveValue;
}
if (status.effortSinceLastImprovement > MAX_EFFORT_SINCE_LAST_IMPOVEMENT ||
if (status.effortSinceLastImprovement > MAX_EFFORT_SINCE_LAST_IMPROVEMENT ||
status.totalEffort > MAX_TOTAL_EFFORT) {
return external_feasibilityjump::CallbackControlFlow::Terminate;
} else {
Expand Down

0 comments on commit 5eed012

Please sign in to comment.