diff -r 58c330ad0b5c -r 6be1f9bd2ac0 lemon/soplex.cc --- a/lemon/soplex.cc Sun Oct 04 10:15:32 2009 +0200 +++ b/lemon/soplex.cc Wed Dec 09 11:14:06 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);