diff -r c160bf9f18ef -r 580af8cf2f6a lemon/soplex.cc --- a/lemon/soplex.cc Thu Nov 05 10:01:02 2009 +0100 +++ b/lemon/soplex.cc Thu Nov 05 10:23:16 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);