ILOG CPLEX 11.0 User's Manual > Advanced Programming Techniques > Advanced MIP Control Interface > Solve Callback

The final callback we consider is the solve callback. By calling CPXsetsolvecallbackfunc, the user instructs CPLEX to call a user function rather than the CPLEX choice (dual simplex by default) to solve the linear programming relaxations at each node of the tree. Advanced example admipex6.c gives an example of how this callback might be used.

Note
We expect the most common use of this callback will be to craft a customer solution strategy out of the set of available CPLEX algorithms. For example, a user might create a hybrid strategy that checks for network status, calling CPXhybnetopt instead of CPXdualopt when it finds it.