ILOG CPLEX 11.0 Getting Started > Tutorials > Interactive Optimizer Tutorial > Changing a Problem > Changing Constraint or Variable Names

Enter name at the Change to make: prompt to change the name of a constraint:

Change to make: name

The present name of the constraint is c3. In the example, you can change the name to new3 to differentiate it from the other constraints using the following entries:

Change a constraint or variable name [`c' or `v']: c 
Present name of constraint: c3 
New name of constraint: new3 
The constraint `c3' now has name `new3'.

The name of the constraint has been changed.

The problem can be checked with a display command (for example, display problem constraints new3) to confirm that the change was made.

This same technique can also be used to change the name of a variable.