Skip to content

Commit 5083668

Browse files
committed
Rename option
1 parent 96ebe4b commit 5083668

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

src/mip/HighsMipSolverData.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ std::string HighsMipSolverData::solutionSourceToString(
4848
} else if (solution_source == kSolutionSourceRandomizedRounding) {
4949
if (code) return "R";
5050
return "Randomized rounding";
51-
} else if (solution_source == kSolutionSourceZIRound) {
51+
} else if (solution_source == kSolutionSourceZiRound) {
5252
if (code) return "Z";
5353
return "ZI Round";
5454
} else if (solution_source == kSolutionSourceShifting) {
@@ -1917,9 +1917,9 @@ void HighsMipSolverData::evaluateRootNode() {
19171917

19181918
if (mipsolver.options_mip_->mip_heuristic_run_zi_round)
19191919
heuristics.ziRound(firstlpsol);
1920-
mipsolver.analysis_.mipTimerStart(kMipClockRandomizedRounding);
1920+
analysis.mipTimerStart(kMipClockRandomizedRounding);
19211921
heuristics.randomizedRounding(firstlpsol);
1922-
mipsolver.analysis_.mipTimerStop(kMipClockRandomizedRounding);
1922+
analysis.mipTimerStop(kMipClockRandomizedRounding);
19231923
if (mipsolver.options_mip_->mip_heuristic_run_shifting)
19241924
heuristics.shifting(firstlpsol);
19251925

src/mip/HighsMipSolverData.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ enum MipSolutionSource : int {
5050
kSolutionSourceSubMip,
5151
kSolutionSourceEmptyMip,
5252
kSolutionSourceRandomizedRounding,
53-
kSolutionSourceZIRound,
53+
kSolutionSourceZiRound,
5454
kSolutionSourceShifting,
5555
kSolutionSourceSolveLp,
5656
kSolutionSourceEvaluateNode,

src/mip/HighsPrimalHeuristics.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1417,7 +1417,7 @@ void HighsPrimalHeuristics::ziRound(const std::vector<double>& relaxationsol) {
14171417
improvementInFeasibility = prev_ZI_total - ZI_total;
14181418
}
14191419
// re-check for feasibility and add incumbent
1420-
mipsolver.mipdata_->trySolution(currRelSol, kSolutionSourceZIRound);
1420+
mipsolver.mipdata_->trySolution(currRelSol, kSolutionSourceZiRound);
14211421
}
14221422

14231423
void HighsPrimalHeuristics::feasibilityPump() {

0 commit comments

Comments
 (0)