diff -r f6bf0b2a7b63 -r 1db9f9db4f95 test/mip_test.cc --- a/test/mip_test.cc Sat Oct 03 07:32:04 2009 +0200 +++ b/test/mip_test.cc Mon Oct 05 20:21:31 2009 +0200 @@ -50,7 +50,8 @@ if (stat == MipSolver::OPTIMAL) { std::ostringstream sbuf; - buf << "Wrong optimal value: the right optimum is " << exp_opt; + sbuf << "Wrong optimal value ("<< mip.solValue() + <<" instead of " << exp_opt << ")"; check(std::abs(mip.solValue()-exp_opt) < 1e-3, sbuf.str()); //+ecvt(exp_opt,2) }