COIN-OR::LEMON - Graph Library

Changeset 1130:0759d974de81 in lemon-main for lemon/cplex.cc


Ignore:
Timestamp:
01/05/14 22:24:56 (10 years ago)
Author:
Gabor Gevay <ggab90@…>
Branch:
default
Phase:
public
Message:

STL style iterators (#325)

For

  • graph types,
  • graph adaptors,
  • paths,
  • iterable maps,
  • LP rows/cols and
  • active nodes is BellmanFord?
File:
1 edited

Legend:

Unmodified
Added
Removed
  • lemon/cplex.cc

    r1125 r1130  
    8888    int status;
    8989    _prob = CPXcloneprob(cplexEnv(), cplex._prob, &status);
    90     rows = cplex.rows;
    91     cols = cplex.cols;
     90    _rows = cplex._rows;
     91    _cols = cplex._cols;
    9292    messageLevel(MESSAGE_NOTHING);
    9393  }
     
    159159
    160160  void CplexBase::_eraseColId(int i) {
    161     cols.eraseIndex(i);
    162     cols.shiftIndices(i);
     161    _cols.eraseIndex(i);
     162    _cols.shiftIndices(i);
    163163  }
    164164  void CplexBase::_eraseRowId(int i) {
    165     rows.eraseIndex(i);
    166     rows.shiftIndices(i);
     165    _rows.eraseIndex(i);
     166    _rows.shiftIndices(i);
    167167  }
    168168
Note: See TracChangeset for help on using the changeset viewer.