CPXXgetdblannotationdefval and CPXgetdblannotationdefval
The routine
CPXXgetdblannotationdefval/CPXgetdblannotationdefval
accesses the default value of an annotation of a CPLEX problem object.
int CPXXgetdblannotationdefval( CPXCENVptr env, CPXCLPptr lp, CPXDIM idx, double * defval_p )
int CPXgetdblannotationdefval( CPXCENVptr env, CPXCLPptr lp, int idx, double * defval_p )
Description
The routine
CPXXgetdblannotationdefval/CPXgetdblannotationdefval
accesses the default value of an annotation of a CPLEX problem object.
The annotation must by of type CPXLONG.
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
- A integer indicating the index of the annotation for which to query the default value.
- defval_p
- A pointer to a double where to return the default value of the annotation.
Return
The routine returns 0 (zero) if successful and nonzero if an error occurs.Example
status = CPXgetdblannotationdefval (env, lp, 0, &defval);