Skip to content

Commit 3bd0aff

Browse files
committed
Cleaned up merge conflict mods
1 parent 696680a commit 3bd0aff

File tree

2 files changed

+3
-13
lines changed

2 files changed

+3
-13
lines changed

highs/lp_data/Highs.cpp

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1246,15 +1246,10 @@ HighsStatus Highs::optimizeModel() {
12461246
double this_postsolve_time = -1;
12471247
double this_solve_original_lp_time = -1;
12481248
HighsInt postsolve_iteration_count = -1;
1249-
12501249
const bool ipm_no_crossover =
12511250
useIpm(options_.solver) && options_.run_crossover == kHighsOffString;
1252-
12531251
const bool lp_no_solution_basis =
1254-
(options_.solver == kIpmString &&
1255-
options_.run_crossover == kHighsOffString) ||
1256-
options_.solver == kPdlpString;
1257-
1252+
ipm_no_crossover || options_.solver == kPdlpString;
12581253
if (options_.icrash) {
12591254
ICrashStrategy strategy = ICrashStrategy::kICA;
12601255
bool strategy_ok = parseICrashStrategy(options_.icrash_strategy, strategy);
@@ -1386,13 +1381,8 @@ HighsStatus Highs::optimizeModel() {
13861381
// rules for which postsolve does not generate a basis.
13871382
const bool lp_presolve_requires_basis_postsolve =
13881383
options_.lp_presolve_requires_basis_postsolve;
1389-
1390-
if (ipm_no_crossover)
1384+
if (lp_no_solution_basis)
13911385
options_.lp_presolve_requires_basis_postsolve = false;
1392-
1393-
else if (lp_no_solution_basis)
1394-
options_.lp_presolve_requires_basis_postsolve = false;
1395-
13961386
// Possibly presolve - according to option_.presolve
13971387
//
13981388
// If solving the relaxation of a MIP, make sure that LP presolve

highs/mip/HighsLpRelaxation.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
#include <algorithm>
1111

12-
#include "lp_data/HighsSolve.h" // For useHipo()
12+
#include "lp_data/HighsSolve.h" // For useIpm()
1313
#include "mip/HighsCutPool.h"
1414
#include "mip/HighsDomain.h"
1515
#include "mip/HighsMipSolver.h"

0 commit comments

Comments
 (0)