Skip to content

Commit 2be4905

Browse files
authored
Merge pull request #2626 from ERGO-Code/mip-ipx-default
MIP IPX default
2 parents 3afdafe + 6b89c41 commit 2be4905

File tree

2 files changed

+11
-3
lines changed

2 files changed

+11
-3
lines changed

highs/io/HighsIO.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@ void highsLogHeader(const HighsLogOptions& log_options,
2929

3030
#ifdef HIPO
3131
#ifdef BLAS_LIBRARIES
32-
highsLogUser(log_options, HighsLogType::kInfo, "Using blas: %s\n", BLAS_LIBRARIES);
32+
highsLogUser(log_options, HighsLogType::kInfo, "Using blas: %s\n",
33+
BLAS_LIBRARIES);
3334
#else
3435
highsLogUser(log_options, HighsLogType::kInfo, "Using blas: unknown\n");
3536
#endif

highs/mip/HighsLpRelaxation.cpp

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1098,6 +1098,8 @@ HighsLpRelaxation::Status HighsLpRelaxation::run(bool resolve_on_error) {
10981098
const std::string mip_lp_solver = mipsolver.options_mip_->mip_lp_solver;
10991099
if (useIpm(mip_lp_solver)) {
11001100
bool use_hipo = mip_lp_solver == kHipoString;
1101+
// Later still, pass mip_lp_solver and take action on failure in
1102+
// solveLp
11011103
#ifndef HIPO
11021104
// Shouldn't be possible to choose HiPO if it's not in the build
11031105
assert(!use_hipo);
@@ -1318,10 +1320,15 @@ HighsLpRelaxation::Status HighsLpRelaxation::run(bool resolve_on_error) {
13181320
// here. Later pass mip_ipm_solver and take action on failure in
13191321
// solveLp
13201322
bool use_hipo =
1321-
#ifdef HIPO
1323+
/*
1324+
#ifdef HIPO
1325+
// Later use HiPO by default
13221326
mip_ipm_solver == kHighsChooseString ||
1323-
#endif
1327+
#endif
1328+
*/
13241329
mip_ipm_solver == kHipoString;
1330+
// Later still, pass mip_ipm_solver and take action on failure in
1331+
// solveLp
13251332
#ifndef HIPO
13261333
// Shouldn't be possible to choose HiPO if it's not in the build
13271334
assert(!use_hipo);

0 commit comments

Comments
 (0)