XSLPwriteprob
| XSLPwriteprob | 
  Purpose
 
 
 Write the current problem to a file in extended MPS or text format
 
 
  Synopsis
 
 int XPRS_CC XSLPwriteprob(XSLPprob Prob, char *Filename, char *Flags);
 
  Arguments
 
 | 
     Prob 
     | 
     The current SLP problem.
     | ||||||||||||
| 
     Filename 
     | 
     Character string holding the name of the file to receive the output. The extension ".mat" will automatically be appended to the file name, except for "text" format when ".txt" will be appended.
     | ||||||||||||
| 
     Flags 
     | 
     The following flags can be used:
     
 | 
  Example
 
 
 The following example reads a problem from file, augments it and writes the augmented (linearized) matrix in text form to file "output.txt":
 
 XSLPreadprob(Prob, "Matrix", ""); XSLPconstruct(Prob); XSLPwriteprob(Prob, "output", "lt");
  Further information
 
 
 The
 t flag is used to produce a "human-readable" form of the problem. It is similar to the
 lp format of
 XPRSwriteprob, but does not contain all the potential complexities of the Extended MPS Format, so the resulting file cannot be used for input. A quadratic objective is written with its true coefficients (not scaled by 2 as in the equivalent
 lp format).
 
 
  Related topics
 
  
