Skip to content

Commit 805fc8d

Browse files
committed
Merge branch 'latest' of https://github.com/ERGO-Code/HiGHS into addUtilityLowerBndChange
2 parents 88782e9 + 9e8322a commit 805fc8d

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

52 files changed

+4332
-767
lines changed

check/TestMipSolver.cpp

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1292,3 +1292,16 @@ TEST_CASE("issue-2585", "[highs_test_mip_solver]") {
12921292
const double optimal_objective = -175.91;
12931293
solve(highs, kHighsOnString, require_model_status, optimal_objective);
12941294
}
1295+
1296+
TEST_CASE("issue-2173", "[highs_test_mip_solver]") {
1297+
std::string filename =
1298+
std::string(HIGHS_DIR) + "/check/instances/issue-2173.mps";
1299+
Highs highs;
1300+
highs.setOptionValue("output_flag", dev_run);
1301+
highs.setOptionValue("mip_rel_gap", 0);
1302+
highs.setOptionValue("mip_abs_gap", 0);
1303+
highs.readModel(filename);
1304+
const HighsModelStatus require_model_status = HighsModelStatus::kOptimal;
1305+
const double optimal_objective = -26770.8075489;
1306+
solve(highs, kHighsOnString, require_model_status, optimal_objective);
1307+
}

0 commit comments

Comments
 (0)