lemon/glpk.h
changeset 537 0fec6a017ead
parent 462 9b082b3fb33f
child 538 ba124394367a
equal deleted inserted replaced
1:d1dbef73c4dc 2:4fc11560499f
    99     virtual Sense _getSense() const;
    99     virtual Sense _getSense() const;
   100 
   100 
   101     virtual void _clear();
   101     virtual void _clear();
   102 
   102 
   103   public:
   103   public:
       
   104 
       
   105     /// \brief Deallocates the globally allocated memory of GLPK.
       
   106 
       
   107     /// Deallocates the globally allocated memory of GLPK.  \note
       
   108     /// Usually, it do not have to be called, because the GLPK use
       
   109     /// only a small amount of global memory, and it is deallocated
       
   110     /// automatically at the end of program.
       
   111     static void freeEnv();
   104 
   112 
   105     ///Pointer to the underlying GLPK data structure.
   113     ///Pointer to the underlying GLPK data structure.
   106     LPX *lpx() {return lp;}
   114     LPX *lpx() {return lp;}
   107     ///Const pointer to the underlying GLPK data structure.
   115     ///Const pointer to the underlying GLPK data structure.
   108     const LPX *lpx() const {return lp;}
   116     const LPX *lpx() const {return lp;}