Previous Page: CPXgetstrparamFirst PageNext Page: CPXgetub

CPXgetsubstat


Usage

Mixed Integer Users Only

Description

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.

Synopsis

int CPXgetsubstat (CPXENVptr env,
                   CPXLPptr lp);

Arguments


CPXENVptr env
The pointer to the CPLEX environment as returned by one of the CPXopenCPLEX routines.

CPXLPptr lp
A pointer to a CPLEX LP problem object as returned by CPXcreateprob().

Example

substatus = CPXgetsubstat (env, lp);
Previous Page: CPXgetstrparamFirst PageNext Page: CPXgetub