test/mip_test.cc
changeset 469 04c0631fd332
parent 461 08d495d48089
child 537 0fec6a017ead
child 540 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