| Overview | Group | Tree | Graph | Index | Concepts |
The routine CPXchgobj is used to change the linear objective
coefficients of a set of variables in a CPLEX problem object.
Example
status = CPXchgobj (env, lp, cnt, indices, values);
| env | A pointer to the CPLEX environment as returned by |
| lp | A pointer to a CPLEX problem object as returned by |
| cnt | An integer that indicates the total number of objective coefficients to be changed, and thus specifies the length of the arrays |
| indices | An array of length |
| values | An array of length |