Overview | Group | Tree | Graph | Index | Concepts |
The routine CPXNETchgbds
is used to change the upper,
lower, or both bounds on the flow for a set of arcs in the network stored in
a network problem object. The flow value of an arc can be fixed to a value
by setting both bounds to that value.
Any solution information stored in the problem object is lost.
Example
status = CPXNETchgbds (env, net, cnt, index, lu, bd);
lu[i] == 'L' | The lower bound of arc index[i] is changed to
bd[i] |
lu[i] == 'U' | The upper bound of arc index[i] is changed to
bd[i] |
lu[i] == 'B' | Both bounds of arc index[i] are changed to
bd[i] |
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 bounds to change. |
indices | An array of arc indices that indicate the bounds to be changed. This array must have a length of at least |
lu | An array indicating which bounds to change. This array must have a length of at least |
bd | An array of bound values. This array must have a length of at least |