Functions and Procedures



All of the functions and procedures of the mmxprs module are available to SLP users. In addition, the following functions and procedures are provided for use in SLP:

chgtolset
Change values in an SLP tolerance set or create a new set
chgvartolset
Set or change the tolerance set for an SLP variable
clearinitvals
Clear initial value settings for all SLP variables
copysoltoinit
Set the initial values of all SLP variables to their value in the current solution
cXSLPcommand
Execute an SLP console command which returns a string result
Func
Include an SLP or user function in an expression
getact
Returns the value of a general constraint or of a general expression
getcoeff
Return the coefficient or constant term in a constraint
getconverged
Return the convergence status of a variable
getcsol
Return the activity or reduced cost of a variable
getdblattrib
Get the value of an SLP double (real) attribute
getdblcontrol
Get the value of an SLP double (real) control parameter
getdual
Returns the dual solution value of a general constraint
gethistory
Return the history value of a variable
getintattrib
Get the value of an SLP integer attribute
getintcontrol
Get the value of an SLP integer control parameter
getname
Return the name in the problem of the requested item
getnlcoeff
Return the current value of the nonlinear part of a constraint
getrsol
Return the slack or dual solution value of a constraint
getslack
Return the slack value of a general constraint
getsol
Return the primal solution value of a constraint, or the calculated value of a general expression
getstatus
Return the status value of an mpvar
getstepbound
Return the current value of the step bound of an mpvar
gettolset
Get the values for an SLP tolerance set.
gettype
Returns the type of a general constraint
getvarnum
Return the index of an mpvar in the problem
getvartolset
Get the tolerance set for an SLP variable
interp
General-purpose linear interpolation function
ishidden
Test whether a general constraint is hidden
iXSLPcommand
Execute an SLP console command which returns an integer result
rXSLPcommand
Execute an SLP console command which returns a real result
setdblcontrol
Set the value of an SLP double (real) control parameter
sethidden
Hide or unhide a general constraint
setinitval
Provide an initial value for an SLP variable
setintcontrol
Set the value of an SLP integer control parameter
settype
Set the type of a general constraint
SLPcalluserfunc
Call a user function directly from Mosel
SLPDATA
Provide SLP-specific problem information
SLPexportprob
Write the SLP problem to file in extended MPS or text format
SLPgetfuncinfo
Obtain additional information for a user function
SLPgetindex
Obtain the index of an SLP item from its name
SLPgetname
Get the name of an SLP item corresponding to a given index
SLPglobal
Call the Xpress-SLP mixed integer optimizer (MISLP)
SLPloadprob
Loads the nonlinear problem into the Xpress-SLP optimizer
SLPlogfile
Specify the name of a file to receive any output messages from the Xpress-SLP program
SLPmaximize, SLPminimize
Maximize or minimize the current SLP problem
SLPprintmemory
Print memory usage for Xpress-SLP and the mmxslp module.
SLPscaling
Call the Xpress-SLP scaling function to report on the range of values in the problem
SLPsetcallback
Set a Mosel function to be used as an SLP callback
SLPsetprobstat
This function sets the problem status parameters after an optimization
SLPsetuserfuncaddress
Set the address of an external user function
SLPsetuserfuncinfo
Set the function information array before calling a user function
SLPtime
Get a time reference value
SLPvalidate
Validate an SLP solution
tolsetstatus
Return the bitmap status of an SLP tolerance set
XSLPcommand
Execute an SLP console command and optionally return a value
XVitem
Set the values for an xvitem object


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