equal
deleted
inserted
replaced
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; |