test/mip_test.cc
changeset 470 81627fa1b007
parent 461 08d495d48089
child 525 0fec6a017ead
child 528 9db62975c32b
equal deleted inserted replaced
2:d4d90190b6f6 3:613d026bd0ad
   110 int main()
   110 int main()
   111 {
   111 {
   112 
   112 
   113 #ifdef HAVE_GLPK
   113 #ifdef HAVE_GLPK
   114   {
   114   {
   115     MipGlpk mip1;
   115     GlpkMip mip1;
   116     aTest(mip1);
   116     aTest(mip1);
   117   }
   117   }
   118 #endif
   118 #endif
   119 
   119 
   120 #ifdef HAVE_CPLEX
   120 #ifdef HAVE_CPLEX
   121   try {
   121   try {
   122     MipCplex mip2;
   122     CplexMip mip2;
   123     aTest(mip2);
   123     aTest(mip2);
   124   } catch (CplexEnv::LicenseError& error) {
   124   } catch (CplexEnv::LicenseError& error) {
   125 #ifdef LEMON_FORCE_CPLEX_CHECK
   125 #ifdef LEMON_FORCE_CPLEX_CHECK
   126     check(false, error.what());
   126     check(false, error.what());
   127 #else
   127 #else