Overview | Group | Tree | Graph | Index | Concepts |
The routine CPXNETchgobj
is used to change the objective
values for a set of arcs in the network stored in a network problem
object.
Any solution information stored in the problem object is lost.
Example
status = CPXNETchgobj (env, net, cnt, indices, newobj);
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 arcs for which the objective values are to be changed. |
indices | An array of indices that indicate the arcs for which the objective values are to be changed. This array must have a length of at least |
obj | An array of the new objective values for the arcs. This array must have a length of at least |