Purpose
Retrieve the value of a string problem control
Synopsis
int XPRS_CC XSLPgetstrcontrol(XSLPprob Prob, int Param, char *cValue);
Arguments
|
Prob
|
The current SLP problem.
|
|
Param
|
control (SLP or optimizer) whose value is to be returned.
|
|
cValue
|
Character buffer to receive the value.
|
Example
The following example retrieves the value of the Xpress-SLP control
XSLP_CVNAME and
of the optimizer control
XPRS_MPSOBJNAME:
char CVName[200], ObjName[200];
XSLPgetstrcontrol(Prob, XSLP_CVNAME, CVName);
XSLPgetstrcontrol(Prob, XPRS_MPSOBJNAME, ObjName);
Further information
Both SLP and optimizer controls can be retrieved using this function. If
an optimizer control is requested, the return value will be the same as that from
XPRSgetstrcontrol.
Related topics
If you have any comments or suggestions about these pages,
please send mail to docs@dashoptimization.com.