COIN-OR::LEMON - Graph Library

Changeset 1427:57abff252556 in lemon for test/mip_test.cc


Ignore:
Timestamp:
01/20/21 16:17:21 (19 months ago)
Author:
Alpar Juttner <alpar@…>
Branch:
default
Phase:
public
Message:

Bugfixes in CplexBase? and ClpLp? (#639)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • test/mip_test.cc

    r1300 r1427  
    6262}
    6363
    64 void aTest(MipSolver& mip)
     64void aTest(MipSolver& mip, bool solve_empty=true)
    6565{
    6666  //The following example is very simple
     
    8181
    8282  //Unconstrained optimization
    83   mip.solve();
     83  if(solve_empty)
     84    mip.solve();
    8485  //Check it out!
    8586
     
    136137  {
    137138    Mip mip1;
     139#if LEMON_DEFAULT_MIP==LEMON_CBC_
     140    aTest(mip1, false);
     141#else
    138142    aTest(mip1);
     143#endif
    139144    cloneTest<Mip>();
    140145  }
     
    162167  {
    163168    CbcMip mip1;
    164     aTest(mip1);
     169    aTest(mip1, false);
    165170    cloneTest<CbcMip>();
    166171  }
Note: See TracChangeset for help on using the changeset viewer.