NO FRAMES

CPXcheckcopyquad

public int CPXcheckcopyquad(CPXCENVptr env, CPXCLPptr lp, const int * qmatbeg, const int * qmatcnt, const int * qmatind, const double * qmatval)
Definition file: cplex.h

The routine CPXcheckcopyquad validates the arguments of the corresponding routine CPXcopyquad. This data checking routine is found in source format in the file check.c provided with the standard CPLEX distribution. To call this routine, you must compile and link check.c with your program as well as the CPLEX Callable Library.

The CPXcheckcopyquad routine has the same argument list as the CPXcopyquad routine. The second argument, lp, is technically a pointer to a constant LP object of type CPXCLPptr rather than type CPXLPptr, as this routine will not modify the model. For most user applications, this distinction is unimportant.

Example

 status = CPXcheckcopyquad (env, lp, qmatbeg, qmatcnt,
                            qmatind, qmatval);

Returns:

The routine returns nonzero if it detects an error in the data; it returns zero if it does not detect any data errors.