XPRScopycallbacks


Purpose
Copies callback functions defined for one problem to another.
Synopsis
int XPRS_CC XPRScopycallbacks(XPRSprob dest, XPRSprob src);
Arguments
dest 
The problem to which the callbacks are copied.
src 
The problem from which the callbacks are copied.
Example
The following sets up a message callback function callback for problem prob1 and then copies this to the problem prob2.
XPRScreateprob(&prob1);
XPRSsetcbmessage(prob1,callback,NULL);
XPRScreateprob(&prob2);
XPRScopycallbacks(prob2,prob1);
Related topics
XPRScopycontrols, XPRScopyprob.


If you have any comments or suggestions about these pages, please send mail to docs@dashoptimization.com.