NO FRAMES

CPXgetsubstat

int CPXPUBLIC CPXgetsubstat(CPXCENVptr env, CPXCLPptr lp)
Definition file: cplex.h
Include files: cplex.h

The routine CPXgetsubstat is used to access the solution status of the last subproblem optimization, in the case of an error termination during mixed integer optimization.

Example

 substatus = CPXgetsubstat (env, lp);

See Also:

Parameters:

env

A pointer to the CPLEX environment as returned by CPXopenCPLEX.

lp

A pointer to a CPLEX problem object as returned by CPXcreateprob.

Example

 substatus = CPXgetsubstat (env, lp);

Returns:

The routine returns zero if no solution exists. A nonzero return value indicates there was an error termination where a subproblem could not be solved to completion. The values returned are documented in the group optim.cplex.callable.solutionstatus in the reference manual of the API.