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

Method optimizeModel

highs/lp_data/Highs.cpp:1153–1168  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1151}
1152
1153HighsStatus Highs::optimizeModel() {
1154 // Level 2a of Highs::run()
1155 //
1156 HighsStatus status = this->initializeMultiThreading();
1157 if (status != HighsStatus::kOk) return status;
1158
1159 const bool already_profiling = this->profiling_;
1160 HighsProfiling profiling;
1161 if (!already_profiling) this->initializeProfiling(&profiling);
1162 status = this->calledOptimizeModel();
1163 if (!already_profiling) {
1164 this->reportProfiling();
1165 this->clearProfiling();
1166 }
1167 return status;
1168}
1169
1170// Checks the options calls presolve and postsolve if needed.
1171//

Callers 8

optimizeHighsMethod · 0.95
getIisInterfaceMethod · 0.95
elasticityFilterMethod · 0.95
multiobjectiveSolveMethod · 0.95
computeMethod · 0.80
lpOkMethod · 0.80
TestIis.cppFile · 0.80

Calls 5

initializeProfilingMethod · 0.95
calledOptimizeModelMethod · 0.95
reportProfilingMethod · 0.95
clearProfilingMethod · 0.95

Tested by

no test coverage detected