[Lemon-commits] athos: r3247 - lemon/trunk/lemon

Lemon SVN svn at lemon.cs.elte.hu
Tue Mar 27 11:23:34 CEST 2007


Author: athos
Date: Tue Mar 27 11:23:33 2007
New Revision: 3247

Modified:
   lemon/trunk/lemon/lp_cplex.cc
   lemon/trunk/lemon/mip_cplex.cc

Log:
I only corrected bugs to make things compile: some featured not implemented here yet.

Modified: lemon/trunk/lemon/lp_cplex.cc
==============================================================================
--- lemon/trunk/lemon/lp_cplex.cc	(original)
+++ lemon/trunk/lemon/lp_cplex.cc	Tue Mar 27 11:23:33 2007
@@ -135,7 +135,7 @@
 			    &rowlist[0], &indices[0], &values[0]); 
   }
 
-  void LpSoplex::_getRowCoeffs(int i, RowIterator b) const {
+  void LpCplex::_getRowCoeffs(int i, RowIterator b) const {
     /// \todo implement
   }
   
@@ -155,7 +155,7 @@
 			    &indices[0], &collist[0], &values[0]); 
   }
 
-  void LpSoplex::_getColCoeffs(int i, ColIterator b) const {
+  void LpCplex::_getColCoeffs(int i, ColIterator b) const {
     /// \todo implement
   }
   
@@ -396,7 +396,7 @@
     Value objval;
     //method = CPXgetmethod (env, lp);
     //printf("CPXgetprobtype %d \n",CPXgetprobtype(env,lp));
-    status = CPXgetobjval(env, lp, &objval);
+    CPXgetobjval(env, lp, &objval);
     //printf("Objective value: %g \n",objval);
     return objval;
   }

Modified: lemon/trunk/lemon/mip_cplex.cc
==============================================================================
--- lemon/trunk/lemon/mip_cplex.cc	(original)
+++ lemon/trunk/lemon/mip_cplex.cc	Tue Mar 27 11:23:33 2007
@@ -61,7 +61,7 @@
   MipCplex::ColTypes MipCplex::_colType(int i) const {
     
     char ctype[1];
-    status = CPXgetctype (env, lp, ctype, i, i);
+    CPXgetctype (env, lp, ctype, i, i);
     switch (ctype[0]){
 
     case CPX_INTEGER:
@@ -127,7 +127,7 @@
   
   MipCplex::Value MipCplex::_getPrimalValue() const {
     Value objval;
-    status = CPXgetmipobjval(env, lp, &objval);
+    CPXgetmipobjval(env, lp, &objval);
     return objval;
   }
 } //END OF NAMESPACE LEMON



More information about the Lemon-commits mailing list