XPRBgetlpstat
XPRBgetlpstat |
Purpose
Synopsis
int XPRBgetlpstat(XPRBprob prob);
Argument
prob
|
Reference to a problem.
|
Return value
0
|
the problem has not been loaded, or error;
|
XPRB_LP_OPTIMAL
|
|
XPRB_LP_INFEAS
|
|
XPRB_LP_CUTOFF
|
|
XPRB_LP_UNFINISHED
|
|
XPRB_LP_UNBOUNDED
|
|
XPRB_LP_CUTOFF_IN_DUAL
|
|
XPRB_LP_UNSOLVED
|
|
XPRB_LP_NONCONVEX
|
Example
The following returns the current LP status.
XPRBprob expl2; int status; ... expl2 = XPRBnewprob("example2"); XPRBlpoptimize(expl2, ""); status = XPRBgetlpstat(expl2);
Further information
The return value of this function provides LP status information from the Xpress Optimizer.
Related topics