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

Method setup

highs/simplex/HEkkDualRow.cpp:44–56  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

42}
43
44void HEkkDualRow::setup() {
45 // Setup common vectors
46 const HighsInt numTot =
47 ekk_instance_.lp_.num_col_ + ekk_instance_.lp_.num_row_;
48 setupSlice(numTot);
49 workNumTotPermutation = ekk_instance_.info_.numTotPermutation_.data();
50
51 // deleteFreelist() is being called in Phase 1 and Phase 2 since
52 // it's in updatePivots(), but create_Freelist() is only called in
53 // Phase 2. Hence freeList is not initialised when freeList.empty()
54 // is used in deleteFreelist(), clear freeList now.
55 freeList.clear();
56}
57
58void HEkkDualRow::clear() {
59 packCount = 0;

Callers

nothing calls this directly

Calls 2

dataMethod · 0.80
clearMethod · 0.45

Tested by

no test coverage detected