lemon/lp_base.h
changeset 2185 e2bf51eab7f7
parent 2148 ab368e0ab662
child 2218 50f1a780a5ff
     1.1 --- a/lemon/lp_base.h	Mon Aug 28 16:11:02 2006 +0000
     1.2 +++ b/lemon/lp_base.h	Wed Aug 30 16:08:03 2006 +0000
     1.3 @@ -121,7 +121,7 @@
     1.4        
     1.5        ///\e
     1.6      enum SolutionStatus {
     1.7 -      ///Feasible solution has'n been found (but may exist).
     1.8 +      ///Feasible solution hasn't been found (but may exist).
     1.9  
    1.10        ///\todo NOTFOUND might be a better name.
    1.11        ///
    1.12 @@ -1205,10 +1205,16 @@
    1.13        return (colType(c)==INTEGER);
    1.14      }
    1.15  
    1.16 +    /// The status of the MIP problem
    1.17 +    SolutionStatus mipStatus() {
    1.18 +      return _getMipStatus();
    1.19 +    }
    1.20 +
    1.21    protected:
    1.22  
    1.23      virtual ColTypes _colType(int col) = 0;
    1.24      virtual void _colType(int col, ColTypes col_type) = 0;
    1.25 +    virtual SolutionStatus _getMipStatus()=0;
    1.26  
    1.27    };
    1.28