Initializing help system before first use

problem.addcbcutlog

problem.addcbcutlog


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 problem.addcbcutlog.
Synopsis

problem.addcbcutlog (f_cutlog, object, priority)

ret = f_cutlog (my_prob, my_object)


Arguments
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 addcbcutlog.
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
The callback f_cutlog should return a non-zero value to stop cutting on the current node.
Related topics