CPXXcallbackgetfunc and CPXcallbackgetfunc
Get the currently installed generic callback.
int CPXXcallbackgetfunc( CPXCENVptrenv, CPXCLPptrlp, CPXLONGcontextmask_p, CPXCALLBACKFUNC **callback_p, void **cbhandle_p )
int CPXcallbackgetfunc( CPXCENVptrenv, CPXCLPptrlp, CPXLONGcontextmask_p, CPXCALLBACKFUNC **callback_p, void **cbhandle_p )
Description
This routine gets the currently installed generic callback as last set by CPXXcallbacksetfunc and CPXcallbacksetfunc.
Arguments
- env
-
A pointer to the CPLEX environment as returned by
CPXXopenCPLEX
. - lp
-
A pointer to a CPLEX problem object as returned for example by
CPXXcreateprob
. - contextmask_p
-
Pointer to a memory location where the routine will store the bitmask specifying in which contexts the generic callback is invoked. Upon successful return, this memory location will contain the contextmask value set by the most recent call to CPXXcallbacksetfunc and CPXcallbacksetfunc (or zero if that routine has not yet been called).
- callback_p
-
Pointer to a memory location where the routine will store the callback function of the currently installed generic callback. Upon successful return, this memory location will contain the callback value set by the last call to CPXXcallbacksetfunc and CPXcallbacksetfunc (or
NULL
if that routine has not yet been called). - cbhandle_p
-
Pointer to a memory location where the routine will store the user handle currently installed generic callback. Upon successful return, this memory location will contain the cbhandle value set by the last call to CPXXcallbacksetfunc and CPXcallbacksetfunc (or
NULL
if that routine has not yet been called).