Initializing help system before first use

XPRBgetlpstat

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 
LP problem is not solved.
XPRB_LP_NONCONVEX 
QP problem is 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

© 2001-2019 Fair Isaac Corporation. All rights reserved. This documentation is the property of Fair Isaac Corporation (“FICO”). Receipt or possession of this documentation does not convey rights to disclose, reproduce, make derivative works, use, or allow others to use it except solely for internal evaluation purposes to determine whether to purchase a license to the software described in this documentation, or as otherwise set forth in a written software license agreement between you and FICO (or a FICO affiliate). Use of this documentation and the software described in it must conform strictly to the foregoing permitted uses, and no other use is permitted.