The routine CPXdelsetcols()
is used to delete a set of columns from a CPLEX problem object. Unlike the routine CPXdelcols()
, CPXdelsetcols()
does not require the columns to be in a contiguous range. After the deletion occurs, the remaining columns are indexed consecutively starting at 0, and in the same order as before the deletion.
The routine returns a zero on success, and a nonzero if an error occurs.
int CPXdelsetcols (CPXCENVptr env, CPXLPptr lp, int *delstat); |
The pointer to the CPLEX environment as returned by CPXopenCPLEX()
.
A pointer to a CPLEX problem object as returned by CPXcreateprob()
.
![]() |
|
status = CPXdelsetcols (env, lp, delstat); |