Changeset 2386:81b47fc5c444 in lemon-0.x for test/lp_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/lp_test.cc
r2369 r2386 262 262 263 263 if (stat == LpSolverBase::OPTIMAL) { 264 std::ostringstream buf;265 buf << "Wrong optimal value: the right optimum is " << exp_opt;266 check(std::abs(lp.primalValue()-exp_opt) < 1e-3, buf.str());264 std::ostringstream sbuf; 265 sbuf << "Wrong optimal value: the right optimum is " << exp_opt; 266 check(std::abs(lp.primalValue()-exp_opt) < 1e-3, sbuf.str()); 267 267 //+ecvt(exp_opt,2) 268 268 }
Note: See TracChangeset
for help on using the changeset viewer.