athos@2146: #include athos@2149: #include "test_tools.h" athos@2146: athos@2146: using namespace lemon; athos@2146: athos@2149: void solveAndCheck(Mip& lp, LpSolverBase::SolutionStatus stat, athos@2149: double exp_opt) { athos@2149: using std::string; athos@2149: lp.solve(); athos@2149: //int decimal,sign; athos@2149: std::ostringstream buf; athos@2149: buf << "Primalstatus should be: " << int(stat)<<" and it is "<