XPRBgetlpstat


Purpose
Get the LP status.
Synopsis
int XPRBgetlpstat(XPRBprob prob);
Argument
prob 
Reference to a problem.
Return value
the problem has not been loaded, or error;
XPRB_LP_OPTIMAL 
LP optimal;
XPRB_LP_INFEAS 
LP infeasible;
XPRB_LP_CUTOFF 
the objective value is worse than the cutoff;
XPRB_LP_UNFINISHED  
LP unfinished;
XPRB_LP_UNBOUNDED  
LP unbounded;
XPRB_LP_CUTOFF_IN_DUAL  
LP cutoff in dual.
XPRB_LP_UNSOLVED  
QP problem matrix is not semi-definite.
Example
The following returns the current LP status.
XPRBprob expl2;
int status;
   ...
expl2 = XPRBnewprob("example2");
XPRBsolve(expl2, "l"); 
status = XPRBgetlpstat(expl2);
Further information
The return value of this function provides LP status information from the Xpress-Optimizer.
Related topics
XPRBgetmipstat, XPRBgetprobstat.


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