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.
Example
The following returns the current MIP status.
XPRBprob expl2;
int status;
expl2 = XPRBnewprob("example2");
 ...
XPRBsolve(expl2, "g");
status = XPRBgetmipstat(expl2);
Further information
This function returns the global (MIP) status information from the Xpress-Optimizer.
Related topics
XPRBgetlpstat, XPRBgetprobstat.


If you have any comments or suggestions about these pages, please send mail to docs@dashoptimization.com.