COIN-OR::LEMON - Graph Library

Changes in / [577:5563527bcc8d:576:745e182d0139] in lemon-main


Ignore:
Location:
test
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • test/lp_test.cc

    r575 r551  
    396396    cloneTest<CplexLp>();
    397397  } catch (CplexEnv::LicenseError& error) {
     398#ifdef LEMON_FORCE_CPLEX_CHECK
    398399    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
    399404  }
    400405#endif
  • test/mip_test.cc

    r575 r567  
    144144    cloneTest<CplexMip>();
    145145  } catch (CplexEnv::LicenseError& error) {
     146#ifdef LEMON_FORCE_CPLEX_CHECK
    146147    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
    147152  }
    148153#endif
Note: See TracChangeset for help on using the changeset viewer.