writeprob
| writeprob | 
  Purpose
 
  
  Synopsis
 
 procedure writeprob(fname:string, options:string)
 procedure writeprob(fname:string, options:string, fnamed:string)
 
  Arguments
 
 | 
     fname 
     | 
     Extended file name for the matrix
     | 
| 
     options 
     | 
     String of format options (default: full precision)
     | 
| 
     fnamed 
     | 
     Extended file name for the directives
     | 
  Example
 
 
 Load the current problem into the Optimizer and save it to an MPS file
 "mypb.mps" in hexadecimal format ('x') and to the file
 "mypb.lp" in LP format ('l') with full precision ('p') using scrambled names ('s'):
 
 loadprob(myobj)
writeprob("mypb.mps","x")
writeprob("mypb.lp","lps")
  Further information
 
 
  This procedure writes the current problem held in the Optimizer to a file by calling the Optimizer function
 XPRSwriteprob and
 XPRSwritedirs if a file name for the directives is also specified. Note that the matrix written by this procedure may be different from the one produced by
 exportprob since it may include the effects of presolve or cuts generated by the Optimizer. For more detail on the options and behavior of this procedure, refer to the
 Xpress Optimizer Reference Manual.
 
 
  Related topics
 
  
  Module
 
  
