XSLPreadprob


Purpose
Read an Xpress-SLP 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.

For details of the format of the file, see the section on "Extended MPS Format".


Related topics
Extended MPS Format (Chapter Extended MPS file format), XSLPwriteprob


If you have any comments or suggestions about these pages, please send mail to docs@dashoptimization.com.