[Lemon-commits] [lemon_svn] athos: r2959 - in hugo/trunk: lemon test
Lemon SVN
svn at lemon.cs.elte.hu
Mon Nov 6 21:51:29 CET 2006
Author: athos
Date: Tue Sep 26 14:20:22 2006
New Revision: 2959
Modified:
hugo/trunk/lemon/lp.h
hugo/trunk/test/mip_test.cc
Log:
Minor changes.
Modified: hugo/trunk/lemon/lp.h
==============================================================================
--- hugo/trunk/lemon/lp.h (original)
+++ hugo/trunk/lemon/lp.h Tue Sep 26 14:20:22 2006
@@ -81,4 +81,4 @@
} //namespace lemon
-#endif //LEMON_LP_BASE_H
+#endif //LEMON_LP_H
Modified: hugo/trunk/test/mip_test.cc
==============================================================================
--- hugo/trunk/test/mip_test.cc (original)
+++ hugo/trunk/test/mip_test.cc Tue Sep 26 14:20:22 2006
@@ -3,7 +3,12 @@
#include <lemon/mip_cplex.h>
#include <lemon/mip_glpk.h>
-#include<lemon/config.h>
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
+
using namespace lemon;
@@ -62,7 +67,7 @@
//Maximization of x1
- //over the triangle with vertices
+ //over the triangle with vertices (0,0),(4/5,2/5),(0,2)
double expected_opt=4.0/5.0;
solveAndCheck(mip, MipSolverBase::OPTIMAL, expected_opt);
@@ -90,10 +95,7 @@
aTest(mip1);
#endif
-
-
#ifdef HAVE_CPLEX
- //std::cout<<ATTILA<<INTEGER;
MipCplex mip2;
aTest(mip2);
#endif
More information about the Lemon-commits
mailing list