XSLPreadprob
| XSLPreadprob | 
  Purpose
 
 
 Read an Xpress NonLinear extended MPS format matrix from a file into an SLP problem
 
 
  Synopsis
 
 int XPRS_CC XSLPreadprob(XSLPprob Prob, char *Probname, char *Flags);
 
  Arguments
 
 | 
     Prob 
     | 
     The current SLP problem.
     | 
| 
     Probname 
     | 
     Character string containing the name of the file from which the matrix is to be read.
     | 
| 
     Flags 
     | 
     Character string containing any flags needed for the input routine. No flag settings are currently recognized.
     | 
  Example
 
 
 The following example reads the problem from file "Matrix.mat".
 
 XSLPreadprob(Prob, "Matrix", "");
  Further information
 
 XSLPreadprob tries to open the file with an extension of "mat" or, failing that, an extension of "mps". If both fail, the file name will be tried with no extension.
XSLPreadprob is capable to read most Ampl .nl files. To specify that a .nl file is to be read, provide the full filename including the .nl extension.
For details of the format of the file, see the section on Extended MPS file format.
  Related topics
 
  
