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

Function rowUpperBoundTest

check/TestDualize.cpp:152–164  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

150}
151
152void rowUpperBoundTest(Highs& highs) {
153 HighsModel model;
154 HighsLp& lp = model.lp_;
155 lp = distillationLp();
156 double row0_upper = 7.1;
157 if (dev_run) printf("\nGive an upper bound on row 0 of %g\n", row0_upper);
158 lp.row_upper_[0] = row0_upper;
159 // Needs reduced lower bound for feasiblilty
160 double row2_lower = 5.7;
161 lp.row_lower_[2] = row2_lower;
162 highs.passModel(model);
163 dualizeTest(highs);
164}
165
166void instanceTest(Highs& highs, const std::string model_name) {
167 std::string model_file =

Callers

nothing calls this directly

Calls 3

distillationLpFunction · 0.85
dualizeTestFunction · 0.85
passModelMethod · 0.80

Tested by

no test coverage detected