Initializing help system before first use

XPRBgetmipstat

XPRBgetmipstat


Purpose
Get the MIP status.
Synopsis
int XPRBgetmipstat(XPRBprob prob);
Argument
prob 
Reference to a problem.
Return value
XPRB_MIP_NOT_LOADED 
problem has not been loaded, or error;
XPRB_MIP_LP_NOT_OPTIMAL 
LP has not been optimized;
XPRB_MIP_LP_OPTIMAL 
LP has been optimized;
XPRB_MIP_NO_SOL_FOUND 
global search incomplete — no integer solution found;
XPRB_MIP_SOLUTION 
global search incomplete, although an integer solution has been found;
XPRB_MIP_INFEAS 
global search complete, but no integer solution found;
XPRB_MIP_OPTIMAL 
global search complete and an integer solution has been found.
XPRB_MIP_UNBOUNDED 
LP unbounded;
Example
The following returns the current MIP status.
XPRBprob expl2;
int status;
expl2 = XPRBnewprob("example2");
 ...
XPRBmipoptimize(expl2, "");
status = XPRBgetmipstat(expl2);
Further information
This function returns the global (MIP) status information from the Xpress Optimizer.
Related topics