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

Method link

highs/mip/HighsNodeQueue.cpp:192–205  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

190}
191
192double HighsNodeQueue::link(int64_t node) {
193 if (nodes[node].lower_bound > optimality_limit) {
194 assert(nodes[node].estimate != kHighsInf);
195 nodes[node].estimate = kHighsInf;
196 link_suboptimal(node);
197 link_domchgs(node);
198 return std::ldexp(1.0, 1 - nodes[node].depth);
199 }
200
201 link_estim(node);
202 link_lower(node);
203 link_domchgs(node);
204 return 0.0;
205}
206
207void HighsNodeQueue::unlink(int64_t node) {
208 if (nodes[node].estimate == kHighsInf) {

Callers 3

link_estimMethod · 0.45
link_lowerMethod · 0.45
link_suboptimalMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected