COIN-OR::LEMON - Graph Library

Changeset 1432:46b088b01f88 in lemon-0.x for src/lemon/lp_glpk.cc


Ignore:
Timestamp:
05/20/05 11:43:40 (19 years ago)
Author:
athos
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@1906
Message:

Functions _eraseRow(), _eraseCol(). Not yet implemented for cplex.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/lemon/lp_glpk.cc

    r1431 r1432  
    6969
    7070 
     71  void LpGlpk::_eraseCol(int i) {
     72    int cols[2];
     73    cols[1]=i;
     74    lpx_del_cols(lp, 1, cols);
     75  }
     76 
     77  void LpGlpk::_eraseRow(int i) {
     78    int rows[2];
     79    rows[1]=i;
     80    lpx_del_rows(lp, 1, rows);
     81  }
     82
    7183  void LpGlpk::_setRowCoeffs(int i,
    7284                             int length,
Note: See TracChangeset for help on using the changeset viewer.