Changeset 2267:3575f17a6e7f in lemon-0.x for lemon/lp_base.h
- Timestamp:
- 10/30/06 12:32:19 (18 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@3025
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lemon/lp_base.h
r2260 r2267 1175 1175 ///Unfortunately, cplex 7.5 somewhere writes something like 1176 1176 ///#define INTEGER 'I' 1177 LEMON_INTEGER= 11177 INT = 1 1178 1178 ///\todo No support for other types yet. 1179 1179 }; … … 1198 1198 void integer(Col c, bool enable) { 1199 1199 if (enable) 1200 colType(c, LEMON_INTEGER);1200 colType(c,INT); 1201 1201 else 1202 1202 colType(c,REAL); … … 1208 1208 ///\return true if the column has integer type and false if not. 1209 1209 bool integer(Col c){ 1210 return (colType(c)== LEMON_INTEGER);1210 return (colType(c)==INT); 1211 1211 } 1212 1212
Note: See TracChangeset
for help on using the changeset viewer.