Overview | Group | Tree | Graph | Index | Concepts |
The routine CPXNETchgarcnodes
can be used to change the
nodes for a set of arcs in the network stored in a network problem
object.
Any solution information stored in the problem object is lost.
Example
status = CPXNETchgarcs (env, net, cnt, indices, newfrom, newto);
env | A pointer to the CPLEX environment as returned by |
net | A pointer to a CPLEX network problem object as returned by |
cnt | Number of arcs to change. |
indices | An array of arc indices that indicate the arcs to be changed. This array must have a length of at least |
fromnode | An array of indices of the “from node” for which the arcs are to be changed. All indices must be in the range [ |
tonode | An array of indices of the “to node” for which the arcs are to be changed. All indices must be in the range [ |