diff -r 6f10c6ec5a21 -r ceb2756dea2a test/mip_test.cc --- a/test/mip_test.cc Mon Sep 28 15:53:20 2009 +0200 +++ b/test/mip_test.cc Thu Nov 05 10:27:17 2009 +0100 @@ -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) }