COIN-OR::LEMON - Graph Library

Changeset 1787:932b8490caf0 in lemon-0.x for lemon/lp_cplex.cc


Ignore:
Timestamp:
11/13/05 21:01:17 (14 years ago)
Author:
marci
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@2325
Message:

bugfix in setCol, getting dual values

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lemon/lp_cplex.cc

    r1542 r1787  
    267267    CPXgetx(env, lp, &x, i, i);
    268268    return x;
     269  }
     270
     271  LpCplex::Value LpCplex::_getDual(int i)
     272  {
     273    Value y;
     274    CPXgety(env, lp, &y, i, i);
     275    return y;
    269276  }
    270277 
Note: See TracChangeset for help on using the changeset viewer.