@@ -57,6 +57,8 @@ TEST_CASE("lp-incompatible-bounds", "[iis]") {
5757 REQUIRE (iis.row_index_ .size () == 0 );
5858 REQUIRE (iis.col_index_ [0 ] == 2 );
5959 REQUIRE (iis.col_bound_ [0 ] == kIisBoundStatusBoxed );
60+
61+ highs.resetGlobalScheduler (true );
6062}
6163
6264TEST_CASE (" lp-empty-infeasible-row" , " [iis]" ) {
@@ -93,6 +95,8 @@ TEST_CASE("lp-empty-infeasible-row", "[iis]") {
9395 REQUIRE (iis.row_index_ .size () == 1 );
9496 REQUIRE (iis.row_index_ [0 ] == empty_row);
9597 REQUIRE (iis.row_bound_ [0 ] == kIisBoundStatusUpper );
98+
99+ highs.resetGlobalScheduler (true );
96100}
97101
98102TEST_CASE (" lp-get-iis" , " [iis]" ) {
@@ -123,6 +127,8 @@ TEST_CASE("lp-get-iis", "[iis]") {
123127 REQUIRE (iis.col_index_ [0 ] == 0 );
124128 REQUIRE (iis.col_index_ [1 ] == 1 );
125129 REQUIRE (iis.row_index_ [0 ] == 2 );
130+
131+ highs.resetGlobalScheduler (true );
126132}
127133
128134TEST_CASE (" lp-get-iis-woodinfe" , " [iis]" ) {
@@ -294,6 +300,8 @@ TEST_CASE("lp-feasibility-relaxation", "[iis]") {
294300 testFeasibilityRelaxation (model, 1 , 1 , 1 , 15.0 );
295301 model = " avgas" ;
296302 testFeasibilityRelaxation (model, 1 , 1 , 1 , 0 );
303+
304+ h.resetGlobalScheduler (true );
297305}
298306
299307void testIis (const std::string& model, const HighsIis& iis) {
@@ -414,6 +422,8 @@ void testIis(const std::string& model, const HighsIis& iis) {
414422 REQUIRE (model_status == HighsModelStatus::kOptimal );
415423 REQUIRE (highs.changeRowBounds (iRow, lower, upper) == HighsStatus::kOk );
416424 }
425+
426+ highs.resetGlobalScheduler (true );
417427}
418428
419429void testMps (std::string& model, const HighsInt iis_strategy,
@@ -447,6 +457,8 @@ void testMps(std::string& model, const HighsInt iis_strategy,
447457 REQUIRE (num_iis_col == 0 );
448458 REQUIRE (num_iis_row == 0 );
449459 }
460+
461+ highs.resetGlobalScheduler (true );
450462}
451463
452464void testFeasibilityRelaxation (
@@ -462,4 +474,6 @@ void testFeasibilityRelaxation(
462474 HighsStatus::kOk );
463475 REQUIRE (h.getInfo ().objective_function_value ==
464476 require_feasibility_objective_function_value);
477+
478+ h.resetGlobalScheduler (true );
465479}
0 commit comments