Changeset 1088:4000b7ef4e01 in lemon-main
- Timestamp:
- 03/28/13 14:52:43 (12 years ago)
- Branch:
- default
- Phase:
- public
- Files:
-
- 1 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
CMakeLists.txt
r1066 r1088 66 66 SET(LEMON_ENABLE_ILOG YES CACHE STRING "Enable ILOG (CPLEX) solver backend.") 67 67 SET(LEMON_ENABLE_COIN YES CACHE STRING "Enable COIN solver backend.") 68 SET(LEMON_ENABLE_SOPLEX YES CACHE STRING "Enable SoPlex solver backend.") 68 69 69 70 IF(LEMON_ENABLE_GLPK) … … 76 77 FIND_PACKAGE(COIN) 77 78 ENDIF(LEMON_ENABLE_COIN) 79 IF(LEMON_ENABLE_SOPLEX) 80 FIND_PACKAGE(SOPLEX) 81 ENDIF(LEMON_ENABLE_SOPLEX) 78 82 79 83 IF(GLPK_FOUND) … … 93 97 SET(LEMON_HAVE_CBC TRUE) 94 98 ENDIF(COIN_FOUND) 99 IF(SOPLEX_FOUND) 100 SET(LEMON_HAVE_LP TRUE) 101 SET(LEMON_HAVE_SOPLEX TRUE) 102 ENDIF(SOPLEX_FOUND) 95 103 96 104 IF(ILOG_FOUND) … … 103 111 SET(DEFAULT_LP "GLPK") 104 112 SET(DEFAULT_MIP "GLPK") 113 ELSEIF(SOPLEX_FOUND) 114 SET(DEFAULT_LP "SOPLEX") 105 115 ENDIF() 106 116 … … 108 118 (NOT ILOG_FOUND AND (LEMON_DEFAULT_LP STREQUAL "CPLEX")) OR 109 119 (NOT COIN_FOUND AND (LEMON_DEFAULT_LP STREQUAL "CLP")) OR 110 (NOT GLPK_FOUND AND (LEMON_DEFAULT_LP STREQUAL "GLPK"))) 120 (NOT GLPK_FOUND AND (LEMON_DEFAULT_LP STREQUAL "GLPK")) OR 121 (NOT SOPLEX_FOUND AND (LEMON_DEFAULT_LP STREQUAL "SOPLEX"))) 111 122 SET(LEMON_DEFAULT_LP ${DEFAULT_LP} CACHE STRING 112 "Default LP solver backend (GLPK, CPLEX or CLP)" FORCE)123 "Default LP solver backend (GLPK, CPLEX, CLP or SOPLEX)" FORCE) 113 124 ENDIF() 114 125 IF(NOT LEMON_DEFAULT_MIP OR -
lemon/CMakeLists.txt
r1062 r1088 50 50 ENDIF() 51 51 52 IF(LEMON_HAVE_SOPLEX) 53 SET(LEMON_SOURCES ${LEMON_SOURCES} soplex.cc) 54 INCLUDE_DIRECTORIES(${SOPLEX_INCLUDE_DIRS}) 55 ENDIF() 56 52 57 ADD_LIBRARY(lemon ${LEMON_SOURCES}) 53 58 IF(UNIX) -
lemon/config.h.in
r1064 r1088 5 5 #cmakedefine LEMON_HAVE_GLPK 1 6 6 #cmakedefine LEMON_HAVE_CPLEX 1 7 #cmakedefine LEMON_HAVE_SOPLEX 1 7 8 #cmakedefine LEMON_HAVE_CLP 1 8 9 #cmakedefine LEMON_HAVE_CBC 1 -
test/CMakeLists.txt
r1065 r1088 74 74 IF(LEMON_HAVE_CLP) 75 75 SET(LP_TEST_LIBS ${LP_TEST_LIBS} ${COIN_CLP_LIBRARIES}) 76 ENDIF() 77 IF(LEMON_HAVE_SOPLEX) 78 SET(LP_TEST_LIBS ${LP_TEST_LIBS} ${SOPLEX_LIBRARIES}) 76 79 ENDIF() 77 80
Note: See TracChangeset
for help on using the changeset viewer.