| 222 | } |
| 223 | |
| 224 | HighsLp mip1(const double cost, const double col_lower, const double bound) { |
| 225 | HighsLp lp = lp1(cost, col_lower, bound); |
| 226 | lp.integrality_ = {HighsVarType::kInteger, HighsVarType::kContinuous}; |
| 227 | lp.col_lower_[0] = 0; |
| 228 | return lp; |
| 229 | } |
| 230 | |
| 231 | HighsHessian hessian(const double value) { |
| 232 | // Together with lp1: |