Changeset 1205:57abff252556 in lemon-main for test/mip_test.cc
- Timestamp:
- 01/20/21 16:17:21 (3 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
test/mip_test.cc
r1105 r1205 62 62 } 63 63 64 void aTest(MipSolver& mip )64 void aTest(MipSolver& mip, bool solve_empty=true) 65 65 { 66 66 //The following example is very simple … … 81 81 82 82 //Unconstrained optimization 83 mip.solve(); 83 if(solve_empty) 84 mip.solve(); 84 85 //Check it out! 85 86 … … 136 137 { 137 138 Mip mip1; 139 #if LEMON_DEFAULT_MIP==LEMON_CBC_ 140 aTest(mip1, false); 141 #else 138 142 aTest(mip1); 143 #endif 139 144 cloneTest<Mip>(); 140 145 } … … 162 167 { 163 168 CbcMip mip1; 164 aTest(mip1 );169 aTest(mip1, false); 165 170 cloneTest<CbcMip>(); 166 171 }
Note: See TracChangeset
for help on using the changeset viewer.