XPRSgetstrcontrol


Purpose
Returns the value of a given string control parameters.
Synopsis
int XPRS_CC XPRSgetstrcontrol(XPRSprob prob, int ipar, char *cgval);
Arguments
prob 
The current problem.
ipar 
Control parameter whose value is to be returned. A full list of all controls may be found in Control Parameters, or from the list in the xprs.h header file.
cgval 
Pointer to a string where the value of the control (plus null terminator) will be returned.
Related Controls
See Control Parameters.
Example
In the following, the value of MPSBOUNDNAME is retrieved and displayed:
char mpsboundname[256];
...
XPRSgetstrcontrol(prob, XPRS_MPSBOUNDNAME, mpsboundname);
printf("Name = %s\n", mpsboundname);
Related topics
XPRSgetdblcontrol, XPRSgetintcontrol, XPRSsetstrcontrol.


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