Changeset 1841:a2dfee683243 in lemon-0.x
- Timestamp:
- 11/30/05 18:49:01 (18 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@2394
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lemon/lp_cplex.cc
r1840 r1841 286 286 } 287 287 bool LpCplex::_isBasicCol(int i) { 288 int* cstat=new int[CPXgetnumcols(env, lp)]; 289 return CPXgetbase(env, lp, cstat, NULL); 290 bool result=(cstat[i]==CPX_BASIC); 291 delete[] cstat; 292 return result; 288 int cstat[CPXgetnumcols(env, lp)]; 289 CPXgetbase(env, lp, cstat, NULL); 290 return (cstat[i]==CPX_BASIC); 293 291 } 294 292
Note: See TracChangeset
for help on using the changeset viewer.