problem.removecblplog
problem.removecblplog |
Purpose
Removes a simplex log callback function previously added by
addcblplog. The specified callback function will no longer be called after it has been removed.
Synopsis
problem.removecblplog(callback, data)
Arguments
callback
|
The callback function to remove. If
None then all lplog 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 lplog callbacks with the function
callback will be removed.
|
Example
The following code sets and removes a callback function:
prob.controls.lplog = 10 prob.addcblplog(lpLog, None, 0) prob.readprob("problem", "") prob.lpoptimize("") prob.removecblplog(lpLog, None)
Related topics