COIN-OR::LEMON - Graph Library

Changeset 1493:94535d1833b5 in lemon-0.x for lemon/lp_base.h


Ignore:
Timestamp:
06/15/05 12:13:08 (19 years ago)
Author:
Alpar Juttner
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@1974
Message:

Bugfixes related to DualExpr?.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lemon/lp_base.h

    r1484 r1493  
    489489      }
    490490      ///\e
    491       DualExpr(const Value &v) {}
    492       ///\e
    493491      void set(const Key &v,const Value &c) {
    494492        Base::insert(std::make_pair(v, c));
     
    707705    ///\bug This is a temportary function. The interface will change to
    708706    ///a better one.
    709     Col addCol(Value l,const DualExpr &e, Value obj=0) {
     707    Col addCol(const DualExpr &e, Value obj=0) {
    710708      Col c=addCol();
    711709      setCol(c,e);
    712       objCoeff(c,0);
     710      objCoeff(c,obj);
    713711      return c;
    714712    }
Note: See TracChangeset for help on using the changeset viewer.