Overview | Group | Tree | Graph | Index | Concepts |
The routine CPXNETchgsupply
is used to change supply
values for a set of nodes in the network stored in a network problem
object.
Any solution information stored in the problem object is lost.
Example
status = CPXNETchgsupply (env, net, cnt, indices, supply);
env | A pointer to the CPLEX environment as returned by |
net | A pointer to a CPLEX network problem object as returned by |
cnt | An integer indicating the number of nodes for which the objective values are to be changed. |
indices | An array of indices that indicate the nodes for which the supply values are to be changed. This array must have a length of at least |
supply | An array to contain the new supply values. This array must have a length of at least |