diff -r f794a0bb40c9 -r 5b01801efbc0 lemon/lp_glpk.cc --- a/lemon/lp_glpk.cc Sat Jan 14 08:17:00 2006 +0000 +++ b/lemon/lp_glpk.cc Sat Jan 14 08:44:59 2006 +0000 @@ -104,6 +104,19 @@ lpx_del_rows(lp, 1, rows); } + void LpGlpk::_getColName(int col, std::string & name) + { + + char *n = lpx_get_col_name(lp,col); + name = n?n:""; + } + + + void LpGlpk::_setColName(int col, const std::string & name) + { + lpx_set_col_name(lp,col,const_cast(name.c_str())); + } + void LpGlpk::_setRowCoeffs(int i, int length, const int * indices,