MCPcopy Create free account
hub / github.com/ERGO-Code/HiGHS / testStandardFormModel

Function testStandardFormModel

check/TestLpSolvers.cpp:311–322  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

309}
310
311void testStandardFormModel(const std::string model) {
312 const std::string model_file =
313 std::string(HIGHS_DIR) + "/check/instances/" + model + ".mps";
314 ;
315 Highs highs;
316 highs.setOptionValue("output_flag", dev_run);
317 highs.readModel(model_file);
318 HighsLp lp = highs.getLp();
319 testStandardForm(lp);
320
321 highs.resetGlobalScheduler(true);
322}
323
324TEST_CASE("standard-form-mps", "[highs_lp_solver]") {
325 testStandardFormModel("avgas");

Callers 1

TestLpSolvers.cppFile · 0.85

Calls 4

testStandardFormFunction · 0.85
resetGlobalSchedulerMethod · 0.80
setOptionValueMethod · 0.45
readModelMethod · 0.45

Tested by

no test coverage detected