equal
deleted
inserted
replaced
21 ///\brief A skeleton file to implement LP solver interfaces |
21 ///\brief A skeleton file to implement LP solver interfaces |
22 namespace lemon { |
22 namespace lemon { |
23 |
23 |
24 int LpSolverSkeleton::_addCol() |
24 int LpSolverSkeleton::_addCol() |
25 { |
25 { |
26 return 1; |
26 return ++col_num; |
27 } |
27 } |
28 |
28 |
29 int LpSolverSkeleton::_addRow() |
29 int LpSolverSkeleton::_addRow() |
30 { |
30 { |
31 return 1; |
31 return ++row_num; |
32 } |
32 } |
33 |
33 |
34 void LpSolverSkeleton::_setRowCoeffs(int i, |
34 void LpSolverSkeleton::_setRowCoeffs(int i, |
35 int length, |
35 int length, |
36 int const * indices, |
36 int const * indices, |