[Lemon-commits] [lemon_svn] alpar: r1807 - in hugo/trunk/src: demo lemon

Lemon SVN svn at lemon.cs.elte.hu
Mon Nov 6 20:47:51 CET 2006


Author: alpar
Date: Fri Apr 15 23:15:30 2005
New Revision: 1807

Added:
   hugo/trunk/src/demo/lp_demo.cc
      - copied unchanged from r1804, /hugo/trunk/src/work/athos/lp/lp_sample.cc
Modified:
   hugo/trunk/src/demo/Makefile.am
   hugo/trunk/src/lemon/lp_skeleton.cc

Log:
- Adding new lp_demo.cc finished
- Several 'unused variable' warnings fixed in 'lp_skeleton.cc'

Modified: hugo/trunk/src/demo/Makefile.am
==============================================================================
--- hugo/trunk/src/demo/Makefile.am	(original)
+++ hugo/trunk/src/demo/Makefile.am	Fri Apr 15 23:15:30 2005
@@ -30,6 +30,6 @@
 lp_demo_CXXFLAGS = $(GLPK_CFLAGS)
 lp_demo_LDFLAGS = $(GLPK_LIBS)
 
-lp_demo_SOURCES = lp_maxflow_demo.cc
-lp_demo_CXXFLAGS = $(GLPK_CFLAGS)
-lp_demo_LDFLAGS = $(GLPK_LIBS)
+lp_maxflow_demo_SOURCES = lp_maxflow_demo.cc
+lp_maxflow_demo_CXXFLAGS = $(GLPK_CFLAGS)
+lp_maxflow_demo_LDFLAGS = $(GLPK_LIBS)

Modified: hugo/trunk/src/lemon/lp_skeleton.cc
==============================================================================
--- hugo/trunk/src/lemon/lp_skeleton.cc	(original)
+++ hugo/trunk/src/lemon/lp_skeleton.cc	Fri Apr 15 23:15:30 2005
@@ -31,37 +31,37 @@
     return ++row_num;
   }
   
-  void LpSkeleton::_setRowCoeffs(int i, 
-					       int length,
-					       int  const * indices, 
-					       Value  const * values )
+  void LpSkeleton::_setRowCoeffs(int, 
+				 int,
+				 int  const *, 
+				 Value  const *)
   {
   }
   
-  void LpSkeleton::_setColCoeffs(int i, 
-					       int length,
-					       int  const * indices, 
-					       Value  const * values)
+  void LpSkeleton::_setColCoeffs(int, 
+				 int,
+				 int  const *, 
+				 Value  const *)
   {
   }
   
-  void LpSkeleton::_setColLowerBound(int i, Value value)
+  void LpSkeleton::_setColLowerBound(int, Value)
   {
   }
   
-  void LpSkeleton::_setColUpperBound(int i, Value value)
+  void LpSkeleton::_setColUpperBound(int, Value)
   {
   }
   
-  void LpSkeleton::_setRowLowerBound(int i, Value value)
+  void LpSkeleton::_setRowLowerBound(int, Value)
   {
   }
   
-  void LpSkeleton::_setRowUpperBound(int i, Value value)
+  void LpSkeleton::_setRowUpperBound(int, Value)
   {
   }
   
-  void LpSkeleton::_setObjCoeff(int i, Value obj_coef)
+  void LpSkeleton::_setObjCoeff(int, Value)
   {
   }
 
@@ -77,7 +77,7 @@
     return SOLVED;
   }
 
-  LpSkeleton::Value LpSkeleton::_getPrimal(int i)
+  LpSkeleton::Value LpSkeleton::_getPrimal(int)
   {
     return 0;
   }



More information about the Lemon-commits mailing list