# HG changeset patch # User Balazs Dezso # Date 2009-04-09 21:19:16 # Node ID 3cbddc293cf91e7977a608f66aeb64a643062d9c # Parent 37216ca5b9c610a335e9dcdb941115003d1f3769 Force cplex checking (#260) diff --git a/test/lp_test.cc b/test/lp_test.cc --- a/test/lp_test.cc +++ b/test/lp_test.cc @@ -395,12 +395,7 @@ aTest(lp_cplex2); cloneTest(); } catch (CplexEnv::LicenseError& error) { -#ifdef LEMON_FORCE_CPLEX_CHECK check(false, error.what()); -#else - std::cerr << error.what() << std::endl; - std::cerr << "Cplex license check failed, lp check skipped" << std::endl; -#endif } #endif diff --git a/test/mip_test.cc b/test/mip_test.cc --- a/test/mip_test.cc +++ b/test/mip_test.cc @@ -143,12 +143,7 @@ aTest(mip2); cloneTest(); } catch (CplexEnv::LicenseError& error) { -#ifdef LEMON_FORCE_CPLEX_CHECK check(false, error.what()); -#else - std::cerr << error.what() << std::endl; - std::cerr << "Cplex license check failed, lp check skipped" << std::endl; -#endif } #endif