Changeset 1493:94535d1833b5 in lemon-0.x for lemon/lp_base.h
- Timestamp:
- 06/15/05 12:13:08 (19 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@1974
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lemon/lp_base.h
r1484 r1493 489 489 } 490 490 ///\e 491 DualExpr(const Value &v) {}492 ///\e493 491 void set(const Key &v,const Value &c) { 494 492 Base::insert(std::make_pair(v, c)); … … 707 705 ///\bug This is a temportary function. The interface will change to 708 706 ///a better one. 709 Col addCol( Value l,const DualExpr &e, Value obj=0) {707 Col addCol(const DualExpr &e, Value obj=0) { 710 708 Col c=addCol(); 711 709 setCol(c,e); 712 objCoeff(c, 0);710 objCoeff(c,obj); 713 711 return c; 714 712 }
Note: See TracChangeset
for help on using the changeset viewer.