NO FRAMES

CPXgetdeletenodecallbackfunc

void CPXPUBLIC CPXgetdeletenodecallbackfunc(CPXCENVptr env, void(CPXPUBLIC **deletecallback_p)(CALLBACK_DELETENODE_ARGS) , void ** cbhandle_p)
Definition file: cplex.h
Include files: cplex.h
Note

This is an advanced routine. Advanced routines typically demand a profound understanding of the algorithms used by ILOG CPLEX. Thus they incur a higher risk of incorrect behavior in your application, behavior that can be difficult to debug. Therefore, ILOG encourages you to consider carefully whether you can accomplish the same task by means of other Callable Library routines instead.

The routine CPXgetdeletenodecallbackfunc accesses the user-written callback to be called during MIP optimization when a node is to be deleted. Nodes are deleted when a branch is carried out from that node, when the node relaxation is infeasible, or when the node relaxation objective value is worse than the cutoff. This callback can be used to delete user data associated with a node.

Example

 CPXgetdeletenodecallbackfunc(env,
                              &current_callback,
                              &current_cbdata);
 

See also Advanced MIP Control Interface in the ILOG CPLEX User's Manual.

For documentation of callback arguments, see the routine CPXsetdeletenodecallbackfunc.

Parameters

env

A pointer to the CPLEX environment, as returned by CPXopenCPLEX.

deletenodecallback_p

The address of the pointer to the current user-written delete-node callback. If no callback has been set, the pointer evaluates to NULL.

cbhandle_p

The address of a variable to hold the user's private pointer.

See Also:

Returns:

This routine does not return a result.