XPRSsetstrcontrol
XPRSsetstrcontrol |
Purpose
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
See
Control Parameters.
Example
The following sets the control
MPSOBJNAME to
"Profit":
XPRSsetstrcontrol(prob, XPRS_MPSOBJNAME, "Profit");
Related topics