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

Method init

highs/presolve/PresolveComponent.cpp:16–22  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14#include "presolve/HPresolve.h"
15
16HighsStatus PresolveComponent::init(const HighsLp& lp, HighsTimer& timer,
17 bool mip) {
18 data_.postSolveStack.initializeIndexMaps(lp.num_row_, lp.num_col_);
19 data_.reduced_lp_ = lp;
20 this->timer = &timer;
21 return HighsStatus::kOk;
22}
23
24void PresolveComponent::negateReducedLpColDuals() {
25 for (HighsInt col = 0; col < data_.reduced_lp_.num_col_; col++)

Callers

nothing calls this directly

Calls 1

initializeIndexMapsMethod · 0.80

Tested by

no test coverage detected