Initializing help system before first use

XPRSsetstrcontrol

XPRSsetstrcontrol


Purpose
Used to set the value of a given string control parameter.
Synopsis
int XPRS_CC XPRSsetstrcontrol(XPRSprob prob, int ipar, const char *csval);
Arguments
prob 
The current problem.
ipar 
Control parameter whose value is to be set. A full list of all controls may be found in Control Parameters, or from the list in the xprs.h header file.
csval 
A string containing the value to which the control is to be set (plus a null terminator).
Related controls
Example
The following sets the control MPSOBJNAME to "Profit":
XPRSsetstrcontrol(prob, XPRS_MPSOBJNAME, "Profit");
Related topics