src/lemon/lp_glpk.cc
changeset 1432 46b088b01f88
parent 1431 ad44b1dd8013
     1.1 --- a/src/lemon/lp_glpk.cc	Fri May 20 09:31:25 2005 +0000
     1.2 +++ b/src/lemon/lp_glpk.cc	Fri May 20 09:43:40 2005 +0000
     1.3 @@ -68,6 +68,18 @@
     1.4    }
     1.5  
     1.6    
     1.7 +  void LpGlpk::_eraseCol(int i) {
     1.8 +    int cols[2];
     1.9 +    cols[1]=i;
    1.10 +    lpx_del_cols(lp, 1, cols);
    1.11 +  }
    1.12 +  
    1.13 +  void LpGlpk::_eraseRow(int i) {
    1.14 +    int rows[2];
    1.15 +    rows[1]=i;
    1.16 +    lpx_del_rows(lp, 1, rows);
    1.17 +  }
    1.18 +
    1.19    void LpGlpk::_setRowCoeffs(int i, 
    1.20  			     int length,
    1.21  			     const int   * indices,