NO FRAMES

CPXNETgetub

int CPXPUBLIC CPXNETgetub(CPXCENVptr env, CPXCNETptr net, double * up, int begin, int end)
Definition file: cplex.h
Include files: cplex.h

The routine CPXNETgetub is used to access the upper capacity bounds for a range of arcs in the network stored in a network problem object.

Example

 status = CPXNETgetub (env, net, up, 0, cur_narcs-1);

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.

up

Array in which to write the upper bound on the flow for the requested arcs. If NULL is passed, no upper bounds are retrieved. Otherwise, the array must be of size (end-begin+1).

begin

Index of the first arc for which upper bounds are to be obtained.

end

Index of the last arc for which upper bounds are to be obtained.

Returns:

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