| 442 | } |
| 443 | |
| 444 | Int LPWrapper::getColumnIndex(const String& name) |
| 445 | { |
| 446 | #if COINOR_SOLVER == 1 |
| 447 | return model_->column(name.c_str()); |
| 448 | #else |
| 449 | glp_create_index(lp_problem_); |
| 450 | return glp_find_col(lp_problem_, name.c_str()) - 1; |
| 451 | #endif |
| 452 | } |
| 453 | |
| 454 | LPWrapper::SOLVER LPWrapper::getSolver() const |
| 455 | { |
no outgoing calls
no test coverage detected