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

Function testMip

check/TestUserScale.cpp:294–302  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

292}
293
294void testMip(Highs& h, const double cost, const double col_lower,
295 const double bound) {
296 HighsLp mip = mip1(cost, col_lower, bound);
297 h.passModel(mip);
298 testUserScale(h);
299 mip.sense_ = ObjSense::kMaximize;
300 h.passModel(mip);
301 testUserScale(h);
302}
303
304void testQp(Highs& h, const double cost, const double value,
305 const double col_lower, const double bound) {

Callers 1

TestUserScale.cppFile · 0.85

Calls 3

mip1Function · 0.85
testUserScaleFunction · 0.85
passModelMethod · 0.80

Tested by

no test coverage detected