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

Function colUpperBoundTest

check/TestDualize.cpp:139–150  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

137}
138
139void colUpperBoundTest(Highs& highs) {
140 HighsModel model;
141 HighsLp& lp = model.lp_;
142 lp = distillationLp();
143 double col1_upper = 1;
144 if (dev_run) printf("\nGive an upper bound on col 1 of %g\n", col1_upper);
145 lp.col_upper_[1] = col1_upper;
146 // Needs reduced lower bound for feasiblilty
147 // double col2_lower = 5.7; lp.col_lower_[2] = col2_lower;
148 highs.passModel(model);
149 dualizeTest(highs);
150}
151
152void rowUpperBoundTest(Highs& highs) {
153 HighsModel model;

Callers

nothing calls this directly

Calls 3

distillationLpFunction · 0.85
dualizeTestFunction · 0.85
passModelMethod · 0.80

Tested by

no test coverage detected