Changeset 2386:81b47fc5c444 in lemon-0.x for test/mip_test.cc
- Timestamp:
- 03/02/07 19:04:28 (17 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@3217
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
test/mip_test.cc
r2369 r2386 31 31 32 32 if (stat == MipSolverBase::OPTIMAL) { 33 std::ostringstream buf;33 std::ostringstream sbuf; 34 34 buf << "Wrong optimal value: the right optimum is " << exp_opt; 35 check(std::abs(lp.primalValue()-exp_opt) < 1e-3, buf.str());35 check(std::abs(lp.primalValue()-exp_opt) < 1e-3, sbuf.str()); 36 36 //+ecvt(exp_opt,2) 37 37 }
Note: See TracChangeset
for help on using the changeset viewer.