Initializing help system before first use

XSLPsetstrcontrol

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 NonLinear 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