Description
This routine validates the arguments of the corresponding CPXaddcols() routine.Return Value
The routine returns a zero on success, and a nonzero if an error occurs.Synopsis
int CPXcheckaddcols (CPXENVptr env,
CPXLPptr lp,
int ccnt,
int nzcnt,
double *obj,
int *cmatbeg,
int *cmatind,
double *cmatval,
double *lb,
double *ub,
char **colname);
CPXcheckaddcols() routine has the same argument list as the CPXaddcols() routine.
status = CPXcheckaddcols (env, lp, ccnt, nzcnt, obj, cmatbeg,
cmatind, cmatval, lb, ub, newcolname);