NO FRAMES

CPXcheckcopylpwnames

public int CPXcheckcopylpwnames(CPXCENVptr env, CPXCLPptr lp, int numcols, int numrows, int objsen, const double * obj, const double * rhs, const char * sense, const int * matbeg, const int * matcnt, const int * matind, const double * matval, const double * lb, const double * ub, const double * rngval, char ** colname, char ** rowname)
Definition file: cplex.h

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

The routine CPXcheckcopylpwnames has the same argument list as the routine CPXcopylpwnames. 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 problem. For most user applications, this distinction is unimportant.

Example

 status = CPXcheckcopylpwnames (env, 
                                lp, 
                                numcols, 
                                numrows, 
                                objsen,
                                obj, 
                                rhs, 
                                sense, 
                                matbeg, 
                                matcnt,
                                matind, 
                                matval, 
                                lb, 
                                ub, 
                                rngval,
                                colname, 
                                rowname);
 

Returns:

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