Initializing help system before first use

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 
tree search incomplete — no integer solution found;
XPRB_MIP_SOLUTION 
tree search incomplete, although an integer solution has been found;
XPRB_MIP_INFEAS 
tree search complete, but no integer solution found;
XPRB_MIP_OPTIMAL 
tree 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 MIP status information from the Xpress Optimizer.
Related topics

© 2001-2024 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.