NO FRAMES

CPXdelrows

public int CPXdelrows(CPXCENVptr env, CPXLPptr lp, int begin, int end)
Definition file: cplex.h

The routine CPXdelrows deletes a range of rows. The range is specified using a lower and upper index that represent the first and last row to be deleted, respectively. The indices of the rows following those deleted are decreased by the number of deleted rows.

Example

 status = CPXdelrows (env, lp, 10, 20);
 

Parameters:

env

A pointer to the CPLEX environment as returned by CPXopenCPLEX.

lp

A pointer to a CPLEX problem object as returned by CPXcreateprob.

begin

An integer that indicates the numeric index of the first row to be deleted.

end

An integer that indicates the numeric index of the last row to be deleted.

Returns:

The routine returns zero if successful and nonzero if an error occurs.