lemon/glpk.h
changeset 1198 2236d00ca778
parent 1092 dceba191c00d
equal deleted inserted replaced
16:638c969e41c5 17:085b043926fb
   139     _solver_bits::VoidPtr lpx() {return lp;}
   139     _solver_bits::VoidPtr lpx() {return lp;}
   140     ///Const pointer to the underlying GLPK data structure.
   140     ///Const pointer to the underlying GLPK data structure.
   141     _solver_bits::VoidPtr lpx() const {return lp;}
   141     _solver_bits::VoidPtr lpx() const {return lp;}
   142 
   142 
   143     ///Returns the constraint identifier understood by GLPK.
   143     ///Returns the constraint identifier understood by GLPK.
   144     int lpxRow(Row r) const { return rows(id(r)); }
   144     int lpxRow(Row r) const { return _rows(id(r)); }
   145 
   145 
   146     ///Returns the variable identifier understood by GLPK.
   146     ///Returns the variable identifier understood by GLPK.
   147     int lpxCol(Col c) const { return cols(id(c)); }
   147     int lpxCol(Col c) const { return _cols(id(c)); }
   148 
   148 
   149 #ifdef DOXYGEN
   149 #ifdef DOXYGEN
   150     /// Write the problem or the solution to a file in the given format
   150     /// Write the problem or the solution to a file in the given format
   151 
   151 
   152     /// This function writes the problem or the solution
   152     /// This function writes the problem or the solution