Overview | Group | Tree | Graph | Index | Concepts |
The routine CPXNETchgname
changes the name of a node or an
arc in the network stored in a network problem object.
key == 'a' | Indicates the arc name is to be changed. |
key == 'n' | Indicates the node name is to be changed. |
Example
status = CPXNETchgname (env, net, 'a', 10, "arc10");
env | A pointer to the CPLEX environment as returned by |
net | A pointer to a CPLEX network problem object as returned by |
key | A character to indicate whether an arc name should be changed, or a node name should be changed. |
vindex | The index of the arc or node whose name is to be changed. |
name_str | The new name for the arc or node. |