The routine returns a zero on success, and a nonzero if an error occurs.
int CPXcopyctype (CPXCENVptr env, CPXLPptr lp, const char *xctype); |
The pointer to the CPLEX environment as returned by CPXopenCPLEX()
.
A pointer to a CPLEX problem object as returned by CPXcreateprob()
.
CPX_CONTINUOUS | 'C' | continuous variable |
CPX_BINARY | 'B' | binary variable |
CPX_INTEGER | 'I' | general integer variable |
CPX_SEMICONT | 'S' | semi-continuous variable |
CPX_SEMIINT | 'N' | semi-integer variable |
status = CPXcopyctype (env, lp, ctype); |