Overview | Group | Tree | Graph | Index | Concepts |
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 CPXgetheuristiccallbackfunc
accesses the
user-written callback to be called by ILOG CPLEX during MIP optimization
after the subproblem has been solved to optimality. That callback is not
called when the subproblem is infeasible or cut off. The callback supplies
ILOG CPLEX with heuristically-derived integer solutions.
Example
CPXgetheuristiccallbackfunc(env, ¤t_callback, ¤t_handle);
See also Advanced MIP Control Interface in the ILOG CPLEX User's Manual.
For documentation of callback arguments, see the routine CPXsetheuristiccallbackfunc
.
Parameters
env
A pointer to the CPLEX environment,
as returned by CPXopenCPLEX
.
heuristiccallback_p
The address of the pointer to the current user-written heuristic 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: