Usage
Mixed Integer Users OnlyDescription
The CPXgetsubstat() is used to access the solution status of the last subproblem optimization, in the case of an error termination during mixed integer optimization.Return Value
If no solution exists, CPXgetsubstat() returns the value zero. A nonzero return value indicates there was an error termination where a subproblem could not be solved to completion. The values returned are listed in Appendix B, Solution Status Codes.
int CPXgetsubstat (CPXENVptr env,
CPXLPptr lp);
CPXENVptr envThe pointer to the CPLEX environment as returned by one of the
CPXopenCPLEX routines.
CPXLPptr lpA pointer to a CPLEX LP problem object as returned by
CPXcreateprob().
substatus = CPXgetsubstat (env, lp);