test/mip_test.cc
changeset 595 16d7255a6849
parent 567 3314f58e7b25
child 627 20dac2104519
equal deleted inserted replaced
9:4db2009adddd 10:7a5347068ab2
   141   try {
   141   try {
   142     CplexMip mip2;
   142     CplexMip mip2;
   143     aTest(mip2);
   143     aTest(mip2);
   144     cloneTest<CplexMip>();
   144     cloneTest<CplexMip>();
   145   } catch (CplexEnv::LicenseError& error) {
   145   } catch (CplexEnv::LicenseError& error) {
   146 #ifdef LEMON_FORCE_CPLEX_CHECK
       
   147     check(false, error.what());
   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 #endif
   148 #endif
   154 
   149 
   155 #ifdef HAVE_CBC
   150 #ifdef HAVE_CBC
   156   {
   151   {