XSLPsetstrcontrol


Purpose
Set the value of a string problem control
Synopsis
int XPRS_CC XSLPsetstrcontrol(XSLPprob Prob, int Param, const char *cValue);
Arguments
Prob 
The current SLP problem.
Param 
control (SLP or optimizer) whose value is to be returned.
cValue 
Character buffer containing the value.
Example
The following example sets the value of the Xpress-SLP control XSLP_CVNAME and of the optimizer control XPRS_MPSOBJNAME:
XSLPsetstrcontrol(Prob, XSLP_CVNAME, "CharVars");
XSLPsetstrcontrol(Prob, XPRS_MPSOBJNAME, "_OBJ_");
Further information
Both SLP and optimizer controls can be set using this function. If an optimizer control is requested, the return value will be the same as that from XPRSsetstrcontrol.
Related topics
XSLPgetstrcontrol, XSLPsetdblcontrol, XSLPsetintcontrol, XSLPsetstrcontrol


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