Overview | Group | Tree | Graph | Index | Concepts |
The routine CPXchgrhs
is used to change the right-hand
side coefficients of a set of linear constraints
in the CPLEX problem object.
Example
status = CPXchgrhs (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 right-hand side coefficients to be changed, and thus specifies the length of the arrays |
indices | An array of length |
values | An array of length |