test/lp_test.cc
changeset 597 2ca0cdb5f366
parent 551 9d0d7e20f76d
child 627 20dac2104519
equal deleted inserted replaced
9:3af8d60dd3bd 10:7319056d4404
   393     CplexLp lp_cplex1,lp_cplex2;
   393     CplexLp lp_cplex1,lp_cplex2;
   394     lpTest(lp_cplex1);
   394     lpTest(lp_cplex1);
   395     aTest(lp_cplex2);
   395     aTest(lp_cplex2);
   396     cloneTest<CplexLp>();
   396     cloneTest<CplexLp>();
   397   } catch (CplexEnv::LicenseError& error) {
   397   } catch (CplexEnv::LicenseError& error) {
   398 #ifdef LEMON_FORCE_CPLEX_CHECK
       
   399     check(false, error.what());
   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 #endif
   400 #endif
   406 
   401 
   407 #ifdef HAVE_SOPLEX
   402 #ifdef HAVE_SOPLEX
   408   {
   403   {