CPXXNETgetstat and CPXNETgetstat
The routine CPXXNETgetstat/CPXNETgetstat returns the solution status for
a network problem object.
int CPXXNETgetstat( CPXCENVptr env, CPXCNETptr net )
int CPXNETgetstat( CPXCENVptr env, CPXCNETptr net )
Description
The routine CPXXNETgetstat/CPXNETgetstat returns the solution status for
a network problem object.
Arguments
- env
-
A pointer to the CPLEX environment as returned by
CPXopenCPLEX. - net
-
A pointer to a CPLEX network problem object as returned by
CPXXNETcreateprob/CPXNETcreateprob.
Return
If no solution is available for the network problem object, CPXNETgetstat returns 0 (zero). When a solution exists, the possible return values are:Example
netstatus = CPXNETgetstat (env, net);
CPX_STAT_OPTIMAL |
Optimal solution found. |
CPX_STAT_UNBOUNDED |
Problem has an unbounded ray. |
CPX_STAT_INFEASIBLE |
Problem is infeasible. |
CPX_STAT_INForUNB |
Problem is infeasible or unbounded. |
CPX_STAT_ABORT_IT_LIM |
Aborted due to iteration limit. |
CPX_STAT_ABORT_TIME_LIM |
Aborted due to time limit. |
CPX_STAT_ABORT_DETTIME_LIM |
Aborted due to deterministic time limit. |
CPX_STAT_ABORT_USER |
Aborted on user request. |