Download C API Reference Manual

Transcript
Global function CPXdelqconstrs
int CPXdelqconstrs(CPXCENVptr env, CPXLPptr lp, int begin, int end)
Definition file: cplex.h
The routine CPXdelqconstrs deletes a range of quadratic constraints. The range is specified by a lower and
upper index that represent the first and last quadratic constraints to be deleted, respectively. The indices of the
constraints following those deleted are decreased by the number of deleted constraints.
Example
status = CPXdelqconstrs (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 quadratic constraint to be deleted.
end An integer that indicates the numeric index of the last quadratic constraint to be deleted.
Returns:
The routine returns zero on success and nonzero if an error occurs.
206