XPRBgetprobname
XPRBgetprobname |
Purpose
Synopsis
const char *XPRBgetprobname(XPRBprob prob);
Argument
|
prob
|
Reference to a problem.
|
Return value
Name of the problem if function executed successfully,
NULL otherwise.
Example
XPRBprob expl2;
const char *pbname;
expl2 = XPRBnewprob("example2");
pbname = XPRBgetprobname(expl2);
printf("%s", pbname);
This returns the name of the active problem and prints as output,
example2.
Related topics
