lemon/soplex.cc
changeset 1130 0759d974de81
parent 1092 dceba191c00d
     1.1 --- a/lemon/soplex.cc	Thu Apr 02 22:34:03 2015 +0200
     1.2 +++ b/lemon/soplex.cc	Sun Jan 05 22:24:56 2014 +0100
     1.3 @@ -37,8 +37,8 @@
     1.4    }
     1.5  
     1.6    SoplexLp::SoplexLp(const SoplexLp& lp) {
     1.7 -    rows = lp.rows;
     1.8 -    cols = lp.cols;
     1.9 +    _rows = lp._rows;
    1.10 +    _cols = lp._cols;
    1.11  
    1.12      soplex = new soplex::SoPlex;
    1.13      (*static_cast<soplex::SPxLP*>(soplex)) = *(lp.soplex);
    1.14 @@ -122,12 +122,12 @@
    1.15    }
    1.16  
    1.17    void SoplexLp::_eraseColId(int i) {
    1.18 -    cols.eraseIndex(i);
    1.19 -    cols.relocateIndex(i, cols.maxIndex());
    1.20 +    _cols.eraseIndex(i);
    1.21 +    _cols.relocateIndex(i, _cols.maxIndex());
    1.22    }
    1.23    void SoplexLp::_eraseRowId(int i) {
    1.24 -    rows.eraseIndex(i);
    1.25 -    rows.relocateIndex(i, rows.maxIndex());
    1.26 +    _rows.eraseIndex(i);
    1.27 +    _rows.relocateIndex(i, _rows.maxIndex());
    1.28    }
    1.29  
    1.30    void SoplexLp::_getColName(int c, std::string &name) const {
    1.31 @@ -432,8 +432,8 @@
    1.32      _col_names_ref.clear();
    1.33      _row_names.clear();
    1.34      _row_names_ref.clear();
    1.35 -    cols.clear();
    1.36 -    rows.clear();
    1.37 +    _cols.clear();
    1.38 +    _rows.clear();
    1.39      _clear_temporals();
    1.40    }
    1.41