Initializing help system before first use

XPRBloadmat

XPRBloadmat


Purpose
Load the problem into the Xpress Optimizer.
Synopsis
int XPRBloadmat(XPRBprob prob);
Argument
prob 
Reference to a problem.
Return value
0 if function executed successfully, 1 otherwise.
Example
Here the matrix is generated for problem expl2.
XPRBprob expl2;
expl2 = XPRBnewprob("example2");
   ...
XPRBloadmat(expl2);
Further information
This function calls the Optimizer library functions XPRSloadlp, XPRSloadqp, XPRSloadglobal, or XPRSloadqglobal to transform the current BCL problem definition into a matrix in the Xpress Optimizer. Empty rows and columns are deleted before generating the matrix. Semi-continuous (integer) variables are preprocessed: if a lower bound value greater than 0 is given, then the variable is treated like a continuous (resp. integer) variable. Variables that belong to the problem but do not appear in the matrix receive negative column numbers. Usually, it is not necessary to call this function explicitly because BCL automatically does this conversion whenever it is required. To force matrix reloading, a call to this function needs to be preceded by a call to XPRBsync with the flag XPRB_XPRS_PROB.
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.