The routine CPXcheckcopysos()
validates the arguments of the corresponding CPXcopysos()
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 program as well as the CPLEX Callable Library.
int CPXcheckcopysos (CPXCENVptr env, CPXCLPptr lp, int numsos, int numsosnz, const char *sostype, const int *sospri, const int *sosbeg, const int *sosind, const double *soswt); |
The CPXcheckcopysos()
routine has the same argument list as the CPXcopysos
()
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.
status = CPXcheckcopysos (env, lp, numsos, numsosnz, sostype, sospri, sosbeg, sosind, soswt); |