Changeset 1895:5b01801efbc0 in lemon-0.x for lemon/lp_glpk.cc
- Timestamp:
- 01/14/06 09:44:59 (18 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@2470
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lemon/lp_glpk.cc
r1875 r1895 105 105 } 106 106 107 void LpGlpk::_getColName(int col, std::string & name) 108 { 109 110 char *n = lpx_get_col_name(lp,col); 111 name = n?n:""; 112 } 113 114 115 void LpGlpk::_setColName(int col, const std::string & name) 116 { 117 lpx_set_col_name(lp,col,const_cast<char*>(name.c_str())); 118 } 119 107 120 void LpGlpk::_setRowCoeffs(int i, 108 121 int length,
Note: See TracChangeset
for help on using the changeset viewer.