XSLPsaveas
PurposeSave the Xpress-SLP problem to a named fileSynopsisint XPRS_CC XSLPsaveas(XSLPprob Prob, const char *Filename);Arguments
Prob The current SLP problem. Filename The name of the file (without extension) in which the problem is to be saved.ExampleThe following example saves the current problem to files named MyProb.svf and MyProb.svx.XSLPsaveas(Prob,"MyProb");Further informationThe problem is saved into two files filename.svf which is the optimizer save file, and filename.svx which is the SLP save file, where filename is the second argument to the function. Both files are used in a full save; only the svx file is required when the underlying optimizer problem is not being saved.
Normally XSLPsaveas saves both the Xpress-SLP problem and the underlying optimizer problem. If only the Xpress-SLP problem is required, set the integer control variable XSLP_CONTROL appropriately.
Related topics
If you have any comments or suggestions about these pages, please send mail to docs@dashoptimization.com.