CPX_CALLBACKCONTEXT_LOCAL_PROGRESS

Generic callback at thread-local progress

#define CPX_CALLBACKCONTEXT_LOCAL_PROGRESS 0x0008

Description

CPLEX invokes the generic callback in this context when it has made thread-local progress. Thread-local progress is progress that happened on one of the threads used by CPLEX but has not yet been committed to global solution structures. Information queried from a callback invoked in this context is valid only in the calling thread. The current information about the solution process can be queried with these routines: CPXXcallbackgetinfodbl and CPXcallbackgetinfodbl, CPXXcallbackgetinfoint and CPXcallbackgetinfoint, CPXXcallbackgetinfolong and CPXcallbackgetinfolong, and CPXXcallbackgetincumbent and CPXcallbackgetincumbent.

The constant is used in two different ways:
  • As a value passed into the generic callback function to specify in which context the generic callback is invoked.
  • Bitwise ORed into the where argument of the CPXXcallbacksetfunc and CPXcallbacksetfunc routine to specify in which situations CPLEX should invoke the generic callback.
Warning: All information queried from a callback in this context is local to the thread!

See also