CPXdelrows


Description

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.

Return Value

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

Synopsis

  int CPXdelrows (CPXCENVptr env,
                  CPXLPptr lp,
                  int begin,
                  int end);

Arguments

CPXCENVptr env

The pointer to the CPLEX environment as returned by CPXopenCPLEX().

CPXLPptr lp

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

int begin

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

int end

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

Example

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


Previous Page: CPXdelnames Return to Top Next Page: CPXdelsetcols