Originally posted by: kc78
Hi Paul
I checked the CPLEX 12.1 callable library manual and it seems to have been deprecated...but in the cplex.h file:
/* Accessing MIP Results */
#define CPXgetmipobjval(env, lp, objval_p) \
CPXgetobjval(env, lp, objval_p)
#define CPXgetmipx(env, lp, x, begin, end) \
CPXgetx(env, lp, x, begin, end)
#define CPXgetmipslack(env, lp, slack, begin, end) \
CPXgetslack(env, lp, slack, begin, end)
#define CPXgetmipqconstrslack(env, lp, qcslack, begin, end) \
CPXgetqconstrslack(env, lp, qcslack, begin, end)
I'll try using the CPXgetobjval to see if it works!
Thanks alot!
#CPLEXOptimizers#DecisionOptimization