diff -r b2dfd32b4895 -r 173b53b28d7c lemon/lp_base.h --- a/lemon/lp_base.h Wed Nov 30 13:24:37 2005 +0000 +++ b/lemon/lp_base.h Wed Nov 30 17:00:17 2005 +0000 @@ -595,6 +595,7 @@ virtual Value _getPrimal(int i) = 0; virtual Value _getDual(int i) = 0; virtual Value _getPrimalValue() = 0; + virtual bool _isBasicCol(int i) = 0; virtual SolutionStatus _getPrimalStatus() = 0; virtual SolutionStatus _getDualStatus() = 0; ///\todo This could be implemented here, too, using _getPrimalStatus() and @@ -1000,6 +1001,9 @@ Value dual(Row r) { return _getDual(rows.floatingId(r.id)); } ///\e + bool isBasicCol(Col c) { return _isBasicCol(cols.floatingId(c.id)); } + + ///\e ///\return ///- \ref INF or -\ref INF means either infeasibility or unboundedness