1.1 --- a/lemon/soplex.cc Sun Oct 04 10:15:32 2009 +0200
1.2 +++ b/lemon/soplex.cc Wed Dec 09 11:14:06 2009 +0100
1.3 @@ -91,6 +91,19 @@
1.4 return soplex->nRows() - 1;
1.5 }
1.6
1.7 + int SoplexLp::_addRow(Value l, ExprIterator b, ExprIterator e, Value u) {
1.8 + soplex::DSVector v;
1.9 + for (ExprIterator it = b; it != e; ++it) {
1.10 + v.add(it->first, it->second);
1.11 + }
1.12 + soplex::LPRow r(l, v, u);
1.13 + soplex->addRow(r);
1.14 +
1.15 + _row_names.push_back(std::string());
1.16 +
1.17 + return soplex->nRows() - 1;
1.18 + }
1.19 +
1.20
1.21 void SoplexLp::_eraseCol(int i) {
1.22 soplex->removeCol(i);