
The routine returns a zero on success, and a nonzero if an error occurs.
int CPXcopybase (CPXCENVptr env, CPXLPptr lp, const int *cstat, const int *rstat); 
The pointer to the CPLEX environment as returned by CPXopenCPLEX()
.
A pointer to a CPLEX problem object as returned by CPXcreateprob()
.
CPX_AT_LOWER  0  variable at lower bound 
CPX_BASIC  1  variable is basic 
CPX_AT_UPPER  2  variable at upper bound 
CPX_FREE_SUPER  3  variable free and nonbasic 
CPX_AT_LOWER  0  associated slack/surplus/artificial variable nonbasic at value 0.0 
CPX_BASIC  1  associated slack/surplus/artificial variable basic 
For ranged rows, the array element rstat[i]
has the following meaning:
status = CPXcopybase (env, lp, cstat, rstat); 