lemon/lp_cplex.cc
changeset 1787 932b8490caf0
parent 1542 0219ee65ffcc
child 1798 8b91105d5374
     1.1 --- a/lemon/lp_cplex.cc	Thu Nov 10 12:41:33 2005 +0000
     1.2 +++ b/lemon/lp_cplex.cc	Sun Nov 13 20:01:17 2005 +0000
     1.3 @@ -267,6 +267,13 @@
     1.4      CPXgetx(env, lp, &x, i, i);
     1.5      return x;
     1.6    }
     1.7 +
     1.8 +  LpCplex::Value LpCplex::_getDual(int i)
     1.9 +  {
    1.10 +    Value y;
    1.11 +    CPXgety(env, lp, &y, i, i);
    1.12 +    return y;
    1.13 +  }
    1.14    
    1.15    LpCplex::Value LpCplex::_getPrimalValue()
    1.16    {