The routine returns a zero on success, and a nonzero if an error occurs.
int CPXchgname (CPXCENVptr env, CPXLPptr lp, int key, int ij, const char *newname_str); |
The pointer to the CPLEX environment as returned by CPXopenCPLEX()
.
A pointer to a CPLEX problem object as returned by CPXcreateprob()
.
A character to indicate whether a row name or a column name should be changed:
key = ' r ' | change row name |
key = ' c ' | change column name |
A pointer to a character string containing the new name.
status = CPXchgname (env, lp, 'c', 10, "name10"); |