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

Function fixedColumnTest

check/TestDualize.cpp:126–137  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

124}
125
126void fixedColumnTest(Highs& highs) {
127 HighsModel model;
128 HighsLp& lp = model.lp_;
129 lp = distillationLp();
130 double x0_fixed = 1;
131 if (dev_run) printf("\nFix column 0 of distillation to be %g\n", x0_fixed);
132 lp.col_lower_[0] = x0_fixed;
133 lp.col_upper_[0] = x0_fixed;
134 highs.passModel(model);
135 dualizeTest(highs);
136 highs.clear();
137}
138
139void colUpperBoundTest(Highs& highs) {
140 HighsModel model;

Callers

nothing calls this directly

Calls 4

distillationLpFunction · 0.85
dualizeTestFunction · 0.85
passModelMethod · 0.80
clearMethod · 0.45

Tested by

no test coverage detected