diff -r 6f10c6ec5a21 -r ceb2756dea2a lemon/soplex.cc --- a/lemon/soplex.cc Mon Sep 28 15:53:20 2009 +0200 +++ b/lemon/soplex.cc Thu Nov 05 10:27:17 2009 +0100 @@ -91,6 +91,19 @@ return soplex->nRows() - 1; } + int SoplexLp::_addRow(Value l, ExprIterator b, ExprIterator e, Value u) { + soplex::DSVector v; + for (ExprIterator it = b; it != e; ++it) { + v.add(it->first, it->second); + } + soplex::LPRow r(l, v, u); + soplex->addRow(r); + + _row_names.push_back(std::string()); + + return soplex->nRows() - 1; + } + void SoplexLp::_eraseCol(int i) { soplex->removeCol(i);