CPXXdeldblannotation and CPXdeldblannotation

The routine CPXXdeldblannotation/CPXdeldblannotation deletes a double valued annotation.

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

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

Description

The routine CPXXdeldblannotation/CPXdeldblannotation deletes a double 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 = CPXdeldblannotation (env, lp, 0);