NO FRAMES

CPXdelindconstrs

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

The routine CPXdelindconstrs deletes a range of indicator constraints. The range is specified by a lower index that represent the first indicator constraint to be deleted and an upper index that represents the last indicator constraint to be deleted. The indices of the constraints following those deleted constraints are automatically decreased by the number of deleted constraints.

Example

 status = CPXdelindconstrs (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 specifies the numeric index of the first indicator constraint to be deleted.

end

An integer that specifies the numeric index of the last indicator constraint to be deleted.

Returns:

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