| 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 CPXgetcallbacknodelp accesses the
lp pointer indicating the currently defined linear programming
subproblem (LP) from within user-written callbacks. Generally, this pointer
may be used only in ILOG CPLEX Callable Library query routines, such as
CPXsolution or CPXgetrows.
Example
status = CPXgetcallbacknodelp (env, cbdata, &nodelp);
See also the example admipex1.c and
admipex6.c in the standard distribution.
CPXgetcallbacknodelp may be called only when its
wherefrom argument has one of the following values:
CPX_CALLBACK_MIP,CPX_CALLBACK_MIP_BRANCH,CPX_CALLBACK_MIP_CUT,CPX_CALLBACK_MIP_HEURISTIC,CPX_CALLBACK_MIP_INCUMBENT, orCPX_CALLBACK_MIP_SOLVE.When the wherefrom argument has the value
CPX_CALLBACK_MIP_SOLVE, the subproblem pointer may also be used
in ILOG CPLEX optimization routines.
| env | A pointer to the CPLEX environment, as returned by |
| cbdata | The |
| wherefrom | An integer value indicating where the user-written callback was called from. This parameter must be the value of the wherefrom passed to the user-written callback. |
| nodelp_p | The |