src/work/athos/lp/lp_solver_skeleton.cc
changeset 1275 16980bf77bd3
parent 1263 a490938ad0aa
child 1293 8ede2a6b2594
equal deleted inserted replaced
1:810182b0e582 2:4241d078cd15
    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,