lemon/lp_cplex.cc
changeset 1792 febe52db9b67
parent 1542 0219ee65ffcc
child 1798 8b91105d5374
equal deleted inserted replaced
6:1bfcb0d0031b 7:b047beeaf65e
   264   LpCplex::Value LpCplex::_getPrimal(int i)
   264   LpCplex::Value LpCplex::_getPrimal(int i)
   265   {
   265   {
   266     Value x;
   266     Value x;
   267     CPXgetx(env, lp, &x, i, i);
   267     CPXgetx(env, lp, &x, i, i);
   268     return x;
   268     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;
   269   }
   276   }
   270   
   277   
   271   LpCplex::Value LpCplex::_getPrimalValue()
   278   LpCplex::Value LpCplex::_getPrimalValue()
   272   {
   279   {
   273     Value objval;
   280     Value objval;