XPRScopycallbacks
XPRScopycallbacks |
Purpose
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); XPRSaddcbmessage(prob1,callback,NULL,0); XPRScreateprob(&prob2); XPRScopycallbacks(prob2,prob1);
Related topics