The routine CPXchgprobname()
is used to change the name of the current problem.
The routine returns a zero on success, and a nonzero if an error occurs.
int CPXchgprobname (CPXCENVptr env, CPXLPptr lp, const char *probname_str); |
The pointer to the CPLEX environment as returned by CPXopenCPLEX()
.
A pointer to a CPLEX problem object as returned by CPXcreateprob()
.
status = CPXchgprobname (env, lp, probname); |