test/lp_test.cc
changeset 524 06e0fb20a97c
parent 461 08d495d48089
child 537 0fec6a017ead
child 540 9db62975c32b
equal deleted inserted replaced
3:8ec681aa73dc 4:c3384384d7e0
   360   LpSkeleton lp_skel;
   360   LpSkeleton lp_skel;
   361   lpTest(lp_skel);
   361   lpTest(lp_skel);
   362 
   362 
   363 #ifdef HAVE_GLPK
   363 #ifdef HAVE_GLPK
   364   {
   364   {
   365     LpGlpk lp_glpk1,lp_glpk2;
   365     GlpkLp lp_glpk1,lp_glpk2;
   366     lpTest(lp_glpk1);
   366     lpTest(lp_glpk1);
   367     aTest(lp_glpk2);
   367     aTest(lp_glpk2);
   368   }
   368   }
   369 #endif
   369 #endif
   370 
   370 
   371 #ifdef HAVE_CPLEX
   371 #ifdef HAVE_CPLEX
   372   try {
   372   try {
   373     LpCplex lp_cplex1,lp_cplex2;
   373     CplexLp lp_cplex1,lp_cplex2;
   374     lpTest(lp_cplex1);
   374     lpTest(lp_cplex1);
   375     aTest(lp_cplex2);
   375     aTest(lp_cplex2);
   376   } catch (CplexEnv::LicenseError& error) {
   376   } catch (CplexEnv::LicenseError& error) {
   377 #ifdef LEMON_FORCE_CPLEX_CHECK
   377 #ifdef LEMON_FORCE_CPLEX_CHECK
   378     check(false, error.what());
   378     check(false, error.what());
   383   }
   383   }
   384 #endif
   384 #endif
   385 
   385 
   386 #ifdef HAVE_SOPLEX
   386 #ifdef HAVE_SOPLEX
   387   {
   387   {
   388     LpSoplex lp_soplex1,lp_soplex2;
   388     SoplexLp lp_soplex1,lp_soplex2;
   389     lpTest(lp_soplex1);
   389     lpTest(lp_soplex1);
   390     aTest(lp_soplex2);
   390     aTest(lp_soplex2);
   391   }
   391   }
   392 #endif
   392 #endif
   393 
   393 
   394 #ifdef HAVE_CLP
   394 #ifdef HAVE_CLP
   395   {
   395   {
   396     LpClp lp_clp1,lp_clp2;
   396     ClpLp lp_clp1,lp_clp2;
   397     lpTest(lp_clp1);
   397     lpTest(lp_clp1);
   398     aTest(lp_clp2);
   398     aTest(lp_clp2);
   399   }
   399   }
   400 #endif
   400 #endif
   401 
   401