XPRSremovecblplog
XPRSremovecblplog |
Purpose
Removes a
simplex log
callback function previously added by
XPRSaddcblplog. The specified callback function will no longer be called after it has been removed.
Synopsis
int XPRS_CC XPRSremovecblplog(XPRSprob prob, int (XPRS_CC *f_lplog)(XPRSprob prob, void* object), void* object);
Arguments
prob
|
The current problem.
|
f_lplog
|
The callback function to remove. If NULL then all lplog callback functions added with the given user-defined object value will be removed.
|
object
|
The object value that the callback was added with. If NULL, then the object value will not be checked and all lplog callbacks with the function pointer
f_lplog will be removed.
|
Example
The following code sets and removes a callback function:
XPRSsetintcontrol(prob,XPRS_LPLOG,10); XPRSaddcblplog(prob,lpLog,NULL,0); XPRSreadprob(prob,"problem",""); XPRSlpoptimize(prob,""); XPRSremovecblplog(prob,lpLog,NULL); }
Related topics