COIN-OR::LEMON - Graph Library

Changeset 2267:3575f17a6e7f in lemon-0.x for lemon/lp_base.h


Ignore:
Timestamp:
10/30/06 12:32:19 (18 years ago)
Author:
athos
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@3025
Message:

LEMON_INTEGER -> INT

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lemon/lp_base.h

    r2260 r2267  
    11751175      ///Unfortunately, cplex 7.5 somewhere writes something like
    11761176      ///#define INTEGER 'I'
    1177       LEMON_INTEGER = 1
     1177      INT = 1
    11781178      ///\todo No support for other types yet.
    11791179    };
     
    11981198    void integer(Col c, bool enable) {
    11991199      if (enable)
    1200         colType(c,LEMON_INTEGER);
     1200        colType(c,INT);
    12011201      else
    12021202        colType(c,REAL);
     
    12081208    ///\return true if the column has integer type and false if not.
    12091209    bool integer(Col c){
    1210       return (colType(c)==LEMON_INTEGER);
     1210      return (colType(c)==INT);
    12111211    }
    12121212
Note: See TracChangeset for help on using the changeset viewer.