XPRBloadmat
| XPRBloadmat | 
  Purpose
 
  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
 
 
