XPRSaddcbcutlog
XPRSaddcbcutlog |
Purpose
Declares a cut log callback function, called each time the cut log is printed. This callback function will be called in addition to any callbacks already added by XPRSaddcbcutlog.
Synopsis
int XPRS_CC XPRSaddcbcutlog(XPRSprob prob, int (XPRS_CC *f_cutlog)(XPRSprob my_prob, void *my_object), void *object, int priority);
Arguments
prob
|
The current problem.
|
f_cutlog
|
The callback function which takes two arguments,
my_prob and
my_object, and has an integer return value.
|
my_prob
|
The problem passed to the callback function,
f_cutlog.
|
my_object
|
The user-defined object passed as
object when setting up the callback with
XPRSaddcbcutlog.
|
object
|
A user-defined object to be passed to the callback function,
f_cutlog.
|
priority
|
An integer that determines the order in which multiple cut log callbacks will be invoked. The callback added with a higher priority will be called before a callback with a lower priority. Set to 0 if not required.
|
Further information
Return a non-zero value from
f_cutlog to stop cutting on the current node.
Related topics