Initializing help system before first use

problem.removecbgloballog

problem.removecbgloballog


Purpose
Removes a global log callback function previously added by addcbgloballog. The specified callback function will no longer be called after it has been removed.
Synopsis
problem.removecbgloballog (callback, data)
Arguments
callback 
The callback function to remove. If None then all global log callback functions added with the given user-defined object value will be removed.
data 
The object value that the callback was added with. If None, then the object value will not be checked and all global log callbacks with the function callback will be removed.
Example
The following code sets and removes a callback function:
prob.controls.miplog = 3
prob.addcbgloballog (globalLog, None, 0)
prob.mipoptimize ("")
prob.removecbgloballog (globalLog, None)
Related topics