getprobstat
getprobstat |
Purpose
Synopsis
int getprobstat(XPRMcontext ctx);
Argument
ctx
|
Mosel's execution context
|
Return value
Bit encoded problem status or 0.
Further information
This function returns the status of the current problem of the given model, or 0 if no problem is available. The problem status is bit encoded as follows:
The solution status can be obtained by checking the
XPRM_PBRES bits of the problem status. Possible values are:
XPRM_PBCHG
|
|
XPRM_PBSOL
|
XPRM_PBOPT
|
|
XPRM_PBUNF
|
|
XPRM_PBINF
|
|
XPRM_PBUNB
|
|
XPRM_PBOTH
|
Related topics