| 75 | } |
| 76 | |
| 77 | void simpleTest(Highs& highs) { |
| 78 | HighsModel model; |
| 79 | HighsLp& lp = model.lp_; |
| 80 | lp.num_col_ = 2; |
| 81 | lp.num_row_ = 1; |
| 82 | lp.col_cost_ = {2, 1}; |
| 83 | lp.col_lower_ = {1, 0}; |
| 84 | lp.col_upper_ = {inf, inf}; |
| 85 | lp.row_lower_ = {2}; |
| 86 | lp.row_upper_ = {inf}; |
| 87 | lp.a_matrix_.start_ = {0, 1, 2}; |
| 88 | lp.a_matrix_.index_ = {0, 0}; |
| 89 | lp.a_matrix_.value_ = {1, 1}; |
| 90 | lp.a_matrix_.format_ = MatrixFormat::kColwise; |
| 91 | highs.passModel(model); |
| 92 | dualizeTest(highs); |
| 93 | highs.clear(); |
| 94 | } |
| 95 | |
| 96 | void distillationTest(Highs& highs) { |
| 97 | HighsModel model; |
nothing calls this directly
no test coverage detected