spexportprob


Purpose
To export the problem in the LP, SMPS, or SP format.
Synopsis
spexportprob(dir: integer, objfn: splincr, filetype: integer)
spexportprob(dir: integer, objfn: splincr, filetype: integer, filename: string)
Arguments
dir 
direction for optimization
XSP_MAX 
maximization
XSP_MIN 
minimization
objfn 
Objective function
filetype 
type of file to be exported
XSP_X_LP 
lp
XSP_X_SP 
sp
XSP_X_SMPS 
smps
XSP_X_SMPS_FREE 
smps free format
filename 
name of the file where the problem will be exported
Further information
1. If file name is not provided the name of the objective function is used for creating filename.
2. SMPS files consists of .tim, .sto, and .cor files.
3. SP file (.sp) is not readable by Xpress-SP. It is meant for debugging and verification purposes only.
Related topics
maximize, minimize


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