| 674 | } |
| 675 | |
| 676 | double LPWrapper::getColumnValue(Int index) |
| 677 | { |
| 678 | #if COINOR_SOLVER == 1 |
| 679 | return solution_[index]; |
| 680 | #else |
| 681 | // glpk uses arrays beginning at pos 1, so we need to shift |
| 682 | return glp_mip_col_val(lp_problem_, index + 1); |
| 683 | #endif |
| 684 | } |
| 685 | |
| 686 | double LPWrapper::getColumnUpperBound(Int index) |
| 687 | { |
no outgoing calls
no test coverage detected