| 432 | } |
| 433 | |
| 434 | Int LPWrapper::getRowIndex(const String& name) |
| 435 | { |
| 436 | #if COINOR_SOLVER == 1 |
| 437 | return model_->row(name.c_str()); |
| 438 | #else |
| 439 | glp_create_index(lp_problem_); |
| 440 | return glp_find_row(lp_problem_, name.c_str()) - 1; |
| 441 | #endif |
| 442 | } |
| 443 | |
| 444 | Int LPWrapper::getColumnIndex(const String& name) |
| 445 | { |