NO FRAMES

CPXNETgetstat

int CPXPUBLIC CPXNETgetstat(CPXCENVptr env, CPXCNETptr net)
Definition file: cplex.h
Include files: cplex.h

The routine CPXNETgetstat returns the solution status for a network problem object.

Example

 netstatus = CPXNETgetstat (env, net);

Parameters:

env

A pointer to the CPLEX environment as returned by CPXopenCPLEX.

net

A pointer to a CPLEX network problem object as returned by CPXNETcreateprob.

Returns:

If no solution is available for the network problem object, CPXNETgetstat returns 0 (zero). When a solution exists, the possible return values are:
CPX_STAT_OPTIMALOptimal solution found.
CPX_STAT_UNBOUNDEDProblem has an unbounded ray.
CPX_STAT_INFEASIBLEProblem is infeasible.
CPX_STAT_INForUNBProblem is infeasible or unbounded.
CPX_STAT_ABORT_IT_LIMAborted due to iteration limit.
CPX_STAT_ABORT_TIME_LIMAborted due to time limit.
CPX_STAT_ABORT_USERAborted on user request.