Overview | Group | Tree | Graph | Index | Concepts |
The routine CPXchgname
changes the name of a constraint or
the name of a variable in a CPLEX problem object. If this routine is
performed on a problem object with no row or column names, default names are
created before the change is made.
Example
status = CPXchgname (env, lp, 'c', 10, "name10");
key = 'r' | change row name |
key = 'c' | change column name |
See Also:
env | A pointer to the CPLEX environment as returned by |
lp | A pointer to a CPLEX problem object as returned by |
key | A character to indicate whether a row name or a column name should be changed. Possible values appear in the table. |
ij | An integer that indicates the numeric index of the column or row for which the name is to be changed. |
newname_str | A pointer to a character string containing the new name. |