Previous Page: CPXboundsaFirst PageNext Page: CPXcheckaddrows

CPXcheckaddcols


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);

Arguments

The CPXcheckaddcols() routine has the same argument list as the CPXaddcols() routine.

Example

status = CPXcheckaddcols (env, lp, ccnt, nzcnt, obj, cmatbeg,
                          cmatind, cmatval, lb, ub, newcolname);
Previous Page: CPXboundsaFirst PageNext Page: CPXcheckaddrows