Overview | Group | Tree | Graph | Index | Concepts |
The routine CPXgetobj
is used to access a range of
objective function coefficients of a CPLEX problem object. The beginning and
end of the range must be specified.
Example
status = CPXgetobj (env, lp, obj, 0, cur_numcols-1);
env | A pointer to the CPLEX environment as returned by |
lp | A pointer to a CPLEX problem object as returned by |
obj | An array where the specified objective coefficients are to be returned. This array must be of length at least ( |
begin | An integer indicating the beginning of the range of objective function coefficients to be returned. |
end | An integer indicating the end of the range of objective function coefficients to be returned. |