XPRSsetcbdestroymt


Purpose
Declares a destroy MIP thread callback function, called every time a MIP thread is destroyed by the parallel MIP code.
Synopsis
int XPRS_CC XPRSsetcbdestroymt(XPRSprob prob, void (XPRS_CC *fmt)(XPRSprob my_prob, void *my_object), void *object);
Arguments
prob 
The current thread problem.
fmt 
The callback function which takes two arguments, my_prob and my_object, and has no return value.
my_prob 
The thread problem passed to the callback function.
my_object 
The user-defined object passed to the callback function.
object 
A user-defined object to be passed to the callback function.
Related Controls
Integer
Number of MIP threads to create.

Further information
This callback is useful for freeing up any user data created in the MIP thread callback.
Related topics
XPRSsetcbmipthread.


If you have any comments or suggestions about these pages, please send mail to docs@dashoptimization.com.