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

Function testLp

check/TestUserScale.cpp:284–292  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

282}
283
284void testLp(Highs& h, const double cost, const double col_lower,
285 const double bound) {
286 HighsLp lp = lp1(cost, col_lower, bound);
287 h.passModel(lp);
288 testUserScale(h);
289 lp.sense_ = ObjSense::kMaximize;
290 h.passModel(lp);
291 testUserScale(h);
292}
293
294void testMip(Highs& h, const double cost, const double col_lower,
295 const double bound) {

Callers 1

TestUserScale.cppFile · 0.85

Calls 3

lp1Function · 0.85
testUserScaleFunction · 0.85
passModelMethod · 0.80

Tested by

no test coverage detected