119 (NOT COIN_FOUND AND (LEMON_DEFAULT_LP STREQUAL "CLP")) OR |
119 (NOT COIN_FOUND AND (LEMON_DEFAULT_LP STREQUAL "CLP")) OR |
120 (NOT GLPK_FOUND AND (LEMON_DEFAULT_LP STREQUAL "GLPK")) OR |
120 (NOT GLPK_FOUND AND (LEMON_DEFAULT_LP STREQUAL "GLPK")) OR |
121 (NOT SOPLEX_FOUND AND (LEMON_DEFAULT_LP STREQUAL "SOPLEX"))) |
121 (NOT SOPLEX_FOUND AND (LEMON_DEFAULT_LP STREQUAL "SOPLEX"))) |
122 SET(LEMON_DEFAULT_LP ${DEFAULT_LP} CACHE STRING |
122 SET(LEMON_DEFAULT_LP ${DEFAULT_LP} CACHE STRING |
123 "Default LP solver backend (GLPK, CPLEX, CLP or SOPLEX)" FORCE) |
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 ENDIF() |
127 ENDIF() |
125 IF(NOT LEMON_DEFAULT_MIP OR |
128 IF(NOT LEMON_DEFAULT_MIP OR |
126 (NOT ILOG_FOUND AND (LEMON_DEFAULT_MIP STREQUAL "CPLEX")) OR |
129 (NOT ILOG_FOUND AND (LEMON_DEFAULT_MIP STREQUAL "CPLEX")) OR |
127 (NOT COIN_FOUND AND (LEMON_DEFAULT_MIP STREQUAL "CBC")) OR |
130 (NOT COIN_FOUND AND (LEMON_DEFAULT_MIP STREQUAL "CBC")) OR |
128 (NOT GLPK_FOUND AND (LEMON_DEFAULT_MIP STREQUAL "GLPK"))) |
131 (NOT GLPK_FOUND AND (LEMON_DEFAULT_MIP STREQUAL "GLPK"))) |
129 SET(LEMON_DEFAULT_MIP ${DEFAULT_MIP} CACHE STRING |
132 SET(LEMON_DEFAULT_MIP ${DEFAULT_MIP} CACHE STRING |
130 "Default MIP solver backend (GLPK, CPLEX or CBC)" FORCE) |
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 ENDIF() |
137 ENDIF() |
132 |
138 |
133 |
139 |
134 IF(DEFINED ENV{LEMON_CXX_WARNING}) |
140 IF(DEFINED ENV{LEMON_CXX_WARNING}) |
135 SET(CXX_WARNING $ENV{LEMON_CXX_WARNING}) |
141 SET(CXX_WARNING $ENV{LEMON_CXX_WARNING}) |