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 (f_globallog, object)
Arguments
f_globallog
|
The callback function to remove. If
None then all global log callback functions added with the given user-defined object value will be removed.
|
object
|
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 pointer
f_globallog 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