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

Function distillationTest

check/TestDualize.cpp:96–113  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

94}
95
96void distillationTest(Highs& highs) {
97 HighsModel model;
98 model.lp_ = distillationLp();
99 highs.passModel(model);
100 dualizeTest(highs);
101
102 double x0_lower = 3;
103 if (dev_run) printf("\nGive a lower bound on x0 of %g\n", x0_lower);
104 highs.changeColBounds(0, x0_lower, inf);
105 dualizeTest(highs);
106
107 double x1_upper = 0.5;
108 if (dev_run) printf("\nGive an upper bound on x1 of %g\n", x1_upper);
109 highs.changeColBounds(1, -inf, x1_upper);
110 dualizeTest(highs);
111
112 highs.clear();
113}
114
115void freeColumnTest(Highs& highs) {
116 HighsModel model;

Callers

nothing calls this directly

Calls 5

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

Tested by

no test coverage detected