... | ... |
@@ -395,12 +395,7 @@ |
395 | 395 |
aTest(lp_cplex2); |
396 | 396 |
cloneTest<CplexLp>(); |
397 | 397 |
} catch (CplexEnv::LicenseError& error) { |
398 |
#ifdef LEMON_FORCE_CPLEX_CHECK |
|
399 | 398 |
check(false, error.what()); |
400 |
#else |
|
401 |
std::cerr << error.what() << std::endl; |
|
402 |
std::cerr << "Cplex license check failed, lp check skipped" << std::endl; |
|
403 |
#endif |
|
404 | 399 |
} |
405 | 400 |
#endif |
406 | 401 |
... | ... |
@@ -143,12 +143,7 @@ |
143 | 143 |
aTest(mip2); |
144 | 144 |
cloneTest<CplexMip>(); |
145 | 145 |
} catch (CplexEnv::LicenseError& error) { |
146 |
#ifdef LEMON_FORCE_CPLEX_CHECK |
|
147 | 146 |
check(false, error.what()); |
148 |
#else |
|
149 |
std::cerr << error.what() << std::endl; |
|
150 |
std::cerr << "Cplex license check failed, lp check skipped" << std::endl; |
|
151 |
#endif |
|
152 | 147 |
} |
153 | 148 |
#endif |
154 | 149 |
|
0 comments (0 inline)