Initializing help system before first use

XPRMgetprobstat

XPRMgetprobstat


Purpose
Get the problem status of a model.
Synopsis
int XPRMgetprobstat(XPRMmodel model);
Argument
model 
Reference to a model
Return value
Problem status.
Further information
This function returns the status of the active problem of the given model, or 0 if no problem is available. The problem status is bit encoded as follows:
XPRM_PBCHG 
Problem loaded in the optimizer (if any) is not valid
XPRM_PBSOL 
A solution is available
The solution status can be obtained by checking the XPRM_PBRES bits of the problem status. Possible values are:
XPRM_PBOPT 
optimal solution found
XPRM_PBUNF 
optimization unfinished
XPRM_PBINF 
problem is infeasible
XPRM_PBUNB 
problem is unbounded
XPRM_PBOTH 
optimization failed (any other cause)

Related topics