int CPXgetcols (CPXCENVptr env, CPXCLPptr lp, int *nzcnt_p, int *cmatbeg, int *cmatind, double *cmatval, int cmatspace, int *surplus_p, int begin, int end); |
The pointer to the CPLEX environment as returned by CPXopenCPLEX()
.
A pointer to a CPLEX problem object as returned by CPXcreateprob()
.
An integer indicating the length of the arrays cmatind
and cmatval
. May be zero.
|
An integer indicating the beginning of the range of columns to be returned.
An integer indicating the end of the range of columns to be returned.
status = CPXgetcols (env, lp, &nzcnt, cmatbeg, cmatind, cmatval, cmatspace, &surplus, 0, cur_numcols-1); |