author | Alpar Juttner <alpar@cs.elte.hu> |
Sun, 27 Sep 2009 09:47:20 +0200 | |
changeset 748 | 4792459983d0 |
parent 688 | 1f08e846df29 |
child 749 | 36857046492b |
test/mip_test.cc | file | annotate | diff | comparison | revisions |
1.1 --- a/test/mip_test.cc Tue Aug 18 10:24:31 2009 +0200 1.2 +++ b/test/mip_test.cc Sun Sep 27 09:47:20 2009 +0200 1.3 @@ -50,7 +50,8 @@ 1.4 1.5 if (stat == MipSolver::OPTIMAL) { 1.6 std::ostringstream sbuf; 1.7 - buf << "Wrong optimal value: the right optimum is " << exp_opt; 1.8 + sbuf << "Wrong optimal value ("<< mip.solValue() 1.9 + <<" instead of " << exp_opt << ")"; 1.10 check(std::abs(mip.solValue()-exp_opt) < 1e-3, sbuf.str()); 1.11 //+ecvt(exp_opt,2) 1.12 }