CPXXdellongannotations and CPXdellongannotations

The routine CPXXdellongannotations/CPXdellongannotations deletes a range of long valued annotations.

int  CPXXdellongannotations( CPXCENVptr env, CPXLPptr lp, CPXDIM begin, CPXDIM end )

int  CPXdellongannotations( CPXCENVptr env, CPXLPptr lp, int begin, int end )

Description

The routine CPXXdellongannotations/CPXdellongannotations deletes a range of long valued annotations. The range is specified using a lower and upper index that represent the first and last annotation to be deleted, respectively. The indices of the annotation tags following those deleted are decreased by the number of deleted annotations.

Arguments

env
A pointer to the CPLEX environment as returned by CPXXopenCPLEX/CPXopenCPLEX.
lp
A pointer to a CPLEX problem object as returned by CPXXcreateprob/CPXcreateprob.
begin
An integer that specifies the numeric index of the first annotation tag to be deleted.
end
An integer that specifies the numeric index of the last annotation tag to be deleted.

Return

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

Example


status = CPXdellongannotations (env, lp, 0, 10);