LpSkeleton updated
authoralpar
Mon, 25 Apr 2005 16:22:04 +0000
changeset 13909c8e464ed940
parent 1389 58b298e50c20
child 1391 5b46af577b23
LpSkeleton updated
src/lemon/lp_skeleton.cc
src/lemon/lp_skeleton.h
src/test/lp_test.cc
     1.1 --- a/src/lemon/lp_skeleton.cc	Mon Apr 25 15:43:11 2005 +0000
     1.2 +++ b/src/lemon/lp_skeleton.cc	Mon Apr 25 16:22:04 2005 +0000
     1.3 @@ -73,7 +73,7 @@
     1.4    {
     1.5    }
     1.6  
     1.7 -  void _setRowBounds(int, Value, Value)
     1.8 +  void LpSkeleton::_setRowBounds(int, Value, Value)
     1.9    {
    1.10    }
    1.11    
    1.12 @@ -84,10 +84,15 @@
    1.13    void LpSkeleton::_setMax()
    1.14    {
    1.15    }
    1.16 +
    1.17    void LpSkeleton::_setMin()
    1.18    {
    1.19    }
    1.20  
    1.21 +  void LpSkeleton::_clearObj()
    1.22 +  {
    1.23 +  }
    1.24 +  
    1.25    LpSkeleton::SolveExitStatus LpSkeleton::_solve()
    1.26    {
    1.27      return SOLVED;
     2.1 --- a/src/lemon/lp_skeleton.h	Mon Apr 25 15:43:11 2005 +0000
     2.2 +++ b/src/lemon/lp_skeleton.h	Mon Apr 25 16:22:04 2005 +0000
     2.3 @@ -84,6 +84,8 @@
     2.4      virtual void _setRowUpperBound(int i, Value value);
     2.5  
     2.6      /// \e
     2.7 +    virtual void _clearObj();
     2.8 +    /// \e
     2.9      virtual void _setObjCoeff(int i, Value obj_coef);
    2.10  
    2.11      ///\e
     3.1 --- a/src/test/lp_test.cc	Mon Apr 25 15:43:11 2005 +0000
     3.2 +++ b/src/test/lp_test.cc	Mon Apr 25 16:22:04 2005 +0000
     3.3 @@ -1,3 +1,5 @@
     3.4 +#include<lemon/lp_skeleton.h>
     3.5 +
     3.6  #ifdef HAVE_CONFIG_H
     3.7  #include <config.h>
     3.8  #endif
     3.9 @@ -142,6 +144,9 @@
    3.10  
    3.11  int main() 
    3.12  {
    3.13 +  LpSkeleton lp_skel;
    3.14 +  lpTest(lp_skel);
    3.15 +
    3.16    LpDefault lp;
    3.17  
    3.18    lpTest(lp);