Changeset 1105:62dba6c90f35 in lemon-main
- Timestamp:
- 10/24/13 13:04:00 (11 years ago)
- Branch:
- default
- Phase:
- public
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
CMakeLists.txt
r1088 r1105 122 122 SET(LEMON_DEFAULT_LP ${DEFAULT_LP} CACHE STRING 123 123 "Default LP solver backend (GLPK, CPLEX, CLP or SOPLEX)" FORCE) 124 ELSE() 125 SET(LEMON_DEFAULT_LP ${DEFAULT_LP} CACHE STRING 126 "Default LP solver backend (GLPK, CPLEX, CLP or SOPLEX)") 124 127 ENDIF() 125 128 IF(NOT LEMON_DEFAULT_MIP OR … … 129 132 SET(LEMON_DEFAULT_MIP ${DEFAULT_MIP} CACHE STRING 130 133 "Default MIP solver backend (GLPK, CPLEX or CBC)" FORCE) 134 ELSE() 135 SET(LEMON_DEFAULT_MIP ${DEFAULT_MIP} CACHE STRING 136 "Default MIP solver backend (GLPK, CPLEX or CBC)") 131 137 ENDIF() 132 138 -
lemon/lp.h
r1092 r1105 31 31 #elif LEMON_HAVE_CLP 32 32 #include <lemon/clp.h> 33 #elif LEMON_HAVE_CBC 34 #include <lemon/cbc.h> 33 35 #endif 34 36 … … 80 82 #endif 81 83 #if LEMON_DEFAULT_MIP == GLPK 82 typedef Glpk Lp Mip;84 typedef GlpkMip Mip; 83 85 #elif LEMON_DEFAULT_MIP == CPLEX 84 86 typedef CplexMip Mip; -
test/lp_test.cc
r1092 r1105 40 40 #endif 41 41 42 #ifdef LEMON_HAVE_LP 43 #include <lemon/lp.h> 44 #endif 42 45 using namespace lemon; 43 46 … … 417 420 lpTest(lp_skel); 418 421 422 #ifdef LEMON_HAVE_LP 423 { 424 Lp lp,lp2; 425 lpTest(lp); 426 aTest(lp2); 427 cloneTest<Lp>(); 428 } 429 #endif 430 419 431 #ifdef LEMON_HAVE_GLPK 420 432 { -
test/mip_test.cc
r748 r1105 31 31 #ifdef LEMON_HAVE_CBC 32 32 #include <lemon/cbc.h> 33 #endif 34 35 #ifdef LEMON_HAVE_MIP 36 #include <lemon/lp.h> 33 37 #endif 34 38 … … 129 133 { 130 134 135 #ifdef LEMON_HAVE_MIP 136 { 137 Mip mip1; 138 aTest(mip1); 139 cloneTest<Mip>(); 140 } 141 #endif 142 131 143 #ifdef LEMON_HAVE_GLPK 132 144 {
Note: See TracChangeset
for help on using the changeset viewer.