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

Method invert

highs/simplex/HSimplexNla.cpp:79–94  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

77}
78
79HighsInt HSimplexNla::invert() {
80 HighsTimerClock* factor_timer_clock_pointer = NULL;
81 if (analysis_->analyse_factor_time) {
82 HighsInt thread_id = highs::parallel::thread_num();
83#if 0 // def OPENMP
84 thread_id = omp_get_thread_num();
85#endif
86 factor_timer_clock_pointer =
87 analysis_->getThreadFactorTimerClockPtr(thread_id);
88 }
89 HighsInt rank_deficiency = factor_.build(factor_timer_clock_pointer);
90 // Must not have timed out
91 assert(rank_deficiency >= 0);
92 build_synthetic_tick_ = factor_.build_synthetic_tick;
93 return rank_deficiency;
94}
95
96void HSimplexNla::btran(HVector& rhs, const double expected_density,
97 HighsTimerClock* factor_timer_clock_pointer) const {

Callers 1

computeFactorMethod · 0.80

Calls 3

thread_numFunction · 0.85
buildMethod · 0.45

Tested by

no test coverage detected