lemon/lp_base.h
changeset 1840 173b53b28d7c
parent 1810 474d093466a5
child 1874 396831fa7012
     1.1 --- a/lemon/lp_base.h	Wed Nov 30 13:24:37 2005 +0000
     1.2 +++ b/lemon/lp_base.h	Wed Nov 30 17:00:17 2005 +0000
     1.3 @@ -595,6 +595,7 @@
     1.4      virtual Value _getPrimal(int i) = 0;
     1.5      virtual Value _getDual(int i) = 0;
     1.6      virtual Value _getPrimalValue() = 0;
     1.7 +    virtual bool _isBasicCol(int i) = 0;
     1.8      virtual SolutionStatus _getPrimalStatus() = 0;
     1.9      virtual SolutionStatus _getDualStatus() = 0;
    1.10      ///\todo This could be implemented here, too, using _getPrimalStatus() and
    1.11 @@ -1000,6 +1001,9 @@
    1.12      Value dual(Row r) { return _getDual(rows.floatingId(r.id)); }
    1.13  
    1.14      ///\e
    1.15 +    bool isBasicCol(Col c) { return _isBasicCol(cols.floatingId(c.id)); }
    1.16 +
    1.17 +    ///\e
    1.18  
    1.19      ///\return
    1.20      ///- \ref INF or -\ref INF means either infeasibility or unboundedness