diff -r 68792fb2870f -r e4554cd6b2bf lemon/soplex.cc --- a/lemon/soplex.cc Fri Oct 02 17:03:43 2009 +0200 +++ b/lemon/soplex.cc Sun Oct 04 00:28:42 2009 +0200 @@ -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);