Overview | Group | Tree | Graph | Index | Concepts |
The routine CPXgetstat
is used to access the solution
status of the problem after an LP, QP, QCP, or mixed integer optimization.
Example
lpstat = CPXgetstat (env, lp);
env | A pointer to the CPLEX environment as returned by |
lp | A pointer to a CPLEX problem object as returned by |
CPX_STAT_NUM_BEST
, the algorithm could not converge to the requested tolerances due to numeric difficulties. The best solution found can be retrieved by the routine CPXsolution
. Similarly, when an abort status is returned, the last solution computed before the algorithm aborted can be retrieved using CPXsolution
. Use the query routines CPXsolninfo
and CPXsolution
to obtain further information about the current solution of an LP or QP.