Usage
Mixed Integer Users OnlyDescription
The routine CPXgetctype() is used to access the types for a range of variables in a problem object. The beginning and end of the range must be specified. Return Value
The routine returns a zero on success, and a nonzero if an error occurs.Synopsis
int CPXgetctype (CPXENVptr env,
CPXLPptr lp,
char *ctype,
int begin,
int end);
CPXENVptr envThe pointer to the CPLEX environment as returned by one of the
CPXopenCPLEX routines.
CPXLPptr lpA pointer to a CPLEX LP problem object as returned by
CPXcreateprob().
char *ctypeAn array where the specified types are to be returned. This array must be of length(
end-begin+1). The type of variable j will be returned in ctype[j-begin].
int beginAn integer indicating the beginning of the range of types to be returned
int endAn integer indicating the end of the range of types to be returned.
status = CPXgetctype (env, lp, ctype, 0, cur_numcols-1);