SLPexportprob
PurposeWrite the SLP problem to file in extended MPS or text formatSynopsisprocedure SLPexportprob(FileName:string [, Options:string])
Arguments
FileName the name of the file to be written.string holding any options required. These are the same ones as defined for the XSLPwriteprob function in the Xpress-SLP Reference Manual. The most common ones are: Options l write the linearized form of the problem (the default is to write the nonlinear problem) o write one matrix element on each record (the default is two elements) t write in "text" format (the default is to write in Extended MPS format)ExampleThe following example writes the nonlinear problem to file MyFile.txt in text format:SLPexportprob("MyFile","t")Further informationThe extension .mat (for Extended MPS format) or .txt (for text format) is automatically appended to the given file name.
Note that, where an SLP problem is being created, the standard Mosel procedure exportprob will write out only the linear part of the problem.
Related topics
If you have any comments or suggestions about these pages, please send mail to docs@dashoptimization.com.