Changeset 1263:a490938ad0aa in lemon0.x for src/work/athos/lp/lp_glpk.cc
 Timestamp:
 03/25/05 17:19:03 (15 years ago)
 Branch:
 default
 Phase:
 public
 Convert:
 svn:c9d7d8f590d60310b91f818b3a526b0e/lemon/trunk@1690
 File:

 1 edited
Legend:
 Unmodified
 Added
 Removed

src/work/athos/lp/lp_glpk.cc
r1261 r1263 42 42 void LpGlpk::_setRowCoeffs(int i, 43 43 int length, 44 int * indices, 45 Value * values ) 46 { 47 lpx_set_mat_row(lp, i, length, indices, values); 44 const int * indices, 45 const Value * values ) 46 { 47 lpx_set_mat_row(lp, i, length, 48 const_cast<int * >(indices) , 49 const_cast<Value * >(values)); 48 50 } 49 51 50 52 void LpGlpk::_setColCoeffs(int i, 51 53 int length, 52 int * indices, 53 Value * values) 54 { 55 lpx_set_mat_col(lp, i, length, indices, values); 54 const int * indices, 55 const Value * values) 56 { 57 lpx_set_mat_col(lp, i, length, 58 const_cast<int * >(indices), 59 const_cast<Value * >(values)); 56 60 } 57 61 … … 234 238 } 235 239 240 241 LpGlpk::SolutionType LpGlpk::_solve() 242 { 243 return OPTIMAL; 244 } 245 246 LpGlpk::Value LpGlpk::_getSolution(int i) 247 { 248 return 0; 249 } 250 251 252 236 253 } //END OF NAMESPACE LEMON 237 254
Note: See TracChangeset
for help on using the changeset viewer.