Overview | Group | Tree | Graph | Index | Concepts |
The routine CPXboundsa
is used to access ranges for lower
and/or upper bound values. The beginning and end of the range must be
specified. Information for variable j
, where begin
≤ j
≤ end
, is returned in position
(j-begin)
of the arrays lblower
,
lbupper
, ublower
, and ubupper
.
lblower
and lbupper
should be non-NULL, and ublower
and ubupper
can be NULL.
Example
status = CPXboundsa (env, lp, 0, CPXgetnumcols(env,lp)-1, lblower, lbupper, ublower, ubupper);
env | A pointer to the CPLEX environment as returned by |
lp | A pointer to a CPLEX problem object as returned by |
begin | An integer indicating the beginning of the range of ranges to be returned. |
end | An integer indicating the end of the range of ranges to be returned. |
lblower | An array where the lower bound lower range values are to be returned. The length of this array must be at least |
lbupper | An array where the lower bound upper range values are to be returned. The length of this array must be at least |
ublower | An array where the upper bound lower range values are to be returned. The length of this array must be at least |
ubupper | An array where the upper bound upper range values are to be returned. The length of this array must be at least ( Example status = CPXboundsa (env, lp, 0, CPXgetnumcols(env,lp)-1, lblower, lbupper, ublower, ubupper); |