lemon/lp_base.h
changeset 477 e6ae4999cf22
parent 470 81627fa1b007
child 487 06787db0ef5f
equal deleted inserted replaced
2:e57b20a7c54e 3:edbd7a7fc1b3
  1065     ///\param c is the column to be modified
  1065     ///\param c is the column to be modified
  1066     ///\param e is a dual linear expression (see \ref DualExpr)
  1066     ///\param e is a dual linear expression (see \ref DualExpr)
  1067     ///a better one.
  1067     ///a better one.
  1068     void col(Col c, const DualExpr &e) {
  1068     void col(Col c, const DualExpr &e) {
  1069       e.simplify();
  1069       e.simplify();
  1070       _setColCoeffs(cols(id(c)), ExprIterator(e.comps.begin(), cols),
  1070       _setColCoeffs(cols(id(c)), ExprIterator(e.comps.begin(), rows),
  1071                     ExprIterator(e.comps.end(), cols));
  1071                     ExprIterator(e.comps.end(), rows));
  1072     }
  1072     }
  1073 
  1073 
  1074     ///Get a column (i.e a dual constraint) of the LP
  1074     ///Get a column (i.e a dual constraint) of the LP
  1075 
  1075 
  1076     ///\param c is the column to get
  1076     ///\param c is the column to get