COIN-OR::LEMON - Graph Library

Changeset 1840:173b53b28d7c in lemon-0.x for lemon/lp_cplex.cc


Ignore:
Timestamp:
11/30/05 18:00:17 (18 years ago)
Author:
marci
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@2393
Message:

max flow with lp column generation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lemon/lp_cplex.cc

    r1798 r1840  
    285285    return objval;
    286286  }
    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;
     293  } 
    288294
    289295//7.5-os cplex statusai (Vigyazat: a 9.0-asei masok!)
Note: See TracChangeset for help on using the changeset viewer.