1.1 --- a/test/mip_test.cc Mon Sep 25 08:51:08 2006 +0000
1.2 +++ b/test/mip_test.cc Tue Sep 26 12:20:22 2006 +0000
1.3 @@ -3,7 +3,12 @@
1.4
1.5 #include <lemon/mip_cplex.h>
1.6 #include <lemon/mip_glpk.h>
1.7 -#include<lemon/config.h>
1.8 +
1.9 +#ifdef HAVE_CONFIG_H
1.10 +#include <config.h>
1.11 +#endif
1.12 +
1.13 +
1.14
1.15 using namespace lemon;
1.16
1.17 @@ -62,7 +67,7 @@
1.18
1.19
1.20 //Maximization of x1
1.21 - //over the triangle with vertices
1.22 + //over the triangle with vertices (0,0),(4/5,2/5),(0,2)
1.23 double expected_opt=4.0/5.0;
1.24 solveAndCheck(mip, MipSolverBase::OPTIMAL, expected_opt);
1.25
1.26 @@ -90,10 +95,7 @@
1.27 aTest(mip1);
1.28 #endif
1.29
1.30 -
1.31 -
1.32 #ifdef HAVE_CPLEX
1.33 - //std::cout<<ATTILA<<INTEGER;
1.34 MipCplex mip2;
1.35 aTest(mip2);
1.36 #endif