Force cplex checking (#260)
authorBalazs Dezso <deba@inf.elte.hu>
Thu, 09 Apr 2009 21:19:16 +0200
changeset 6223cbddc293cf9
parent 620 37216ca5b9c6
child 624 5563527bcc8d
Force cplex checking (#260)
test/lp_test.cc
test/mip_test.cc
     1.1 --- a/test/lp_test.cc	Tue Apr 07 14:50:20 2009 +0100
     1.2 +++ b/test/lp_test.cc	Thu Apr 09 21:19:16 2009 +0200
     1.3 @@ -395,12 +395,7 @@
     1.4      aTest(lp_cplex2);
     1.5      cloneTest<CplexLp>();
     1.6    } catch (CplexEnv::LicenseError& error) {
     1.7 -#ifdef LEMON_FORCE_CPLEX_CHECK
     1.8      check(false, error.what());
     1.9 -#else
    1.10 -    std::cerr << error.what() << std::endl;
    1.11 -    std::cerr << "Cplex license check failed, lp check skipped" << std::endl;
    1.12 -#endif
    1.13    }
    1.14  #endif
    1.15  
     2.1 --- a/test/mip_test.cc	Tue Apr 07 14:50:20 2009 +0100
     2.2 +++ b/test/mip_test.cc	Thu Apr 09 21:19:16 2009 +0200
     2.3 @@ -143,12 +143,7 @@
     2.4      aTest(mip2);
     2.5      cloneTest<CplexMip>();
     2.6    } catch (CplexEnv::LicenseError& error) {
     2.7 -#ifdef LEMON_FORCE_CPLEX_CHECK
     2.8      check(false, error.what());
     2.9 -#else
    2.10 -    std::cerr << error.what() << std::endl;
    2.11 -    std::cerr << "Cplex license check failed, lp check skipped" << std::endl;
    2.12 -#endif
    2.13    }
    2.14  #endif
    2.15