Previous Page: CPXNETgetitcnt First PageNext Page: CPXNETgetnodearcs

CPXNETgetlb


Description

The function CPXNETgetlb() is used to access the lower capacity bounds for a range of arcs of the network stored in a CPLEX network problem object.

Return Value

If the operation is successful, CPXNETgetlb() returns the value 0; if not, it returns a nonzero value to indicate an error.

Synopsis

int CPXNETgetlb (CPXENVptr env,
                 CPXNETptr net,
                 double *low,
                 int begin,
                 int end);

Arguments


CPXENVptr env
The pointer to the CPLEX environment as returned by one of the CPXopenCPLEX() routines.

CPXNETptr net
A pointer to a CPLEX network problem object as returned by CPXNETcreateprob().

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

int begin
Index of the first arc for which lower bounds are obtained.

int end
Index of the last arc for which lower bounds are obtained.

Example

status = CPXNETgetlb (env, net, low, 0, cur_narcs-1);

Previous Page: CPXNETgetitcnt First PageNext Page: CPXNETgetnodearcs