XSLPloadcvars
PurposeLoad character variables (CVs) into the SLP problemSynopsisint XPRS_CC XSLPloadcvars(XSLPprob Prob, int nSLPCVar, char *cValue);Arguments
Prob The current SLP problem. nSLPCVar Number of character variables to be loaded. cValue Character buffer holding the values of the character variables; each one must be terminated by a null character.ExampleThe following example loads three character variables into the problem, which contain "The first string", "String 2" and "A third set of characters" respectively
char *cValue="The first string\0" "String 2\0" "A third set of characters"; XSLPloadcvars(Prob,3,cValue);Further informationThe XSLPload... functions load items into the SLP problem. Any existing items of the same type are deleted first. The corresponding XSLPadd... functions add or replace items leaving other items of the same type unchanged.
Related topics
If you have any comments or suggestions about these pages, please send mail to docs@dashoptimization.com.