NO FRAMES

CPXNETdelnodes

public int CPXNETdelnodes(CPXCENVptr env, CPXNETptr net, int begin, int end)
Definition file: cplex.h

The routine CPXNETdelnodes is used to remove a range of nodes from the network stored in a network problem object. The remaining nodes are renumbered starting at zero; their order is preserved. All arcs incident to the nodes that are deleted are also deleted from the network.

Any solution information stored in the problem object is lost.

Example

 status = CPXNETdelnodes (env, net, 10, 20);

Parameters:

env

A pointer to the CPLEX environment as returned by CPXopenCPLEX.

net

A pointer to a CPLEX network problem object as returned by CPXNETcreateprob.

begin

Index of the first node to be deleted.

end

Index of the last node to be deleted.

Returns:

The routine returns zero on success and nonzero if an error occurs.