Changeset 2218:50f1a780a5ff in lemon-0.x for lemon/mip_glpk.cc
- Timestamp:
- 09/21/06 16:46:28 (18 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@2952
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lemon/mip_glpk.cc
r2213 r2218 17 17 */ 18 18 19 #ifndef LEMON_ ILP_GLPK_CC20 #define LEMON_ ILP_GLPK_CC19 #ifndef LEMON_MIP_GLPK_CC 20 #define LEMON_MIP_GLPK_CC 21 21 22 22 ///\file 23 ///\brief Implementation of the LEMON-GLPK lp solver interface.23 ///\brief Implementation of the LEMON-GLPK mip solver interface. 24 24 25 25 #include <lemon/mip_glpk.h> … … 33 33 void MipGlpk::_colType(int i, MipGlpk::ColTypes col_type){ 34 34 switch (col_type){ 35 case INTEGER:35 case LEMON_INTEGER: 36 36 lpx_set_col_kind(lp,i,LPX_IV); 37 37 break; … … 47 47 switch (lpx_get_col_kind(lp,i)){ 48 48 case LPX_IV: 49 return INTEGER;//Or binary49 return LEMON_INTEGER;//Or binary 50 50 case LPX_CV: 51 51 return REAL; … … 111 111 return lpx_mip_obj_val(lp); 112 112 } 113 } //END O GNAMESPACE LEMON113 } //END OF NAMESPACE LEMON 114 114 115 #endif 115 #endif //END OF MIP_GLPK_CC
Note: See TracChangeset
for help on using the changeset viewer.