Previous Page: CPXdelchannelFirst PageNext Page: CPXdelfpdest

CPXdelcols


Description

The routine CPXdelcols() is used to delete all the columns in a specified range. The range is specified using a lower and upper index that represent the first and last column to be deleted, respectively. The indices of the columns following those deleted are decreased by the number of columns deleted.

Return Value

The routine returns a zero on success, and a nonzero if an error occurs.

Synopsis

CPXdelcols (CPXENVptr env,
            CPXLPptr lp,
            int begin,
            int end);

Arguments


CPXENVptr env
The pointer to the CPLEX environment as returned by one of the CPXopenCPLEX routines.

CPXLPptr lp
A pointer to a CPLEX LP problem object as returned by CPXcreateprob().

int begin
An integer that indicates the numerical index of the first column to be deleted.

int end
An integer that indicates the numerical index of the last column to be deleted.

Example

status = CPXdelcols (env, lp, 10, 20);
Previous Page: CPXdelchannelFirst PageNext Page: CPXdelfpdest