CPXXdellongannotation and CPXdellongannotation

The routine CPXXdellongannotation/CPXdellongannotation deletes a long valued annotation.

int  CPXXdellongannotation( CPXCENVptr env, CPXLPptr lp, CPXDIM idx )

int  CPXdellongannotation( CPXCENVptr env, CPXLPptr lp, int idx )

Description

The routine CPXXdellongannotation/CPXdellongannotation deletes a long valued annotation. The annotation is specified via its index. The indices of the annotation tags following the deleted one are decreased accordingly.

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.
idx
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 = CPXdellongannotation (env, lp, 0);