diff --git a/test/mip_test.cc b/test/mip_test.cc --- a/test/mip_test.cc +++ b/test/mip_test.cc @@ -24,45 +24,44 @@ #endif #ifdef HAVE_CPLEX -#include +#include #endif #ifdef HAVE_GLPK -#include +#include #endif using namespace lemon; -void solveAndCheck(MipSolverBase& lp, MipSolverBase::SolutionStatus stat, +void solveAndCheck(MipSolver& mip, MipSolver::ProblemType stat, double exp_opt) { using std::string; - lp.solve(); + mip.solve(); //int decimal,sign; std::ostringstream buf; - buf << "Primalstatus should be: " << int(stat) - <<" and it is "<