COIN-OR::LEMON - Graph Library

Changeset 575:3cbddc293cf9 in lemon-main for test


Ignore:
Timestamp:
04/09/09 21:19:16 (16 years ago)
Author:
Balazs Dezso <deba@…>
Branch:
default
Phase:
public
Message:

Force cplex checking (#260)

Location:
test
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • test/lp_test.cc

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

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