XSLPsetcbcoefevalerror
XSLPsetcbcoefevalerror |
Purpose
Set a user callback to be called when an evaluation of a coefficient fails during the solve
Synopsis
int XPRS_CC XSLPsetcbcoefevalerror(XSLPprob Prob, int (XPRS_CC *UserFunc) (XSLPprob myProb, void *myObject, int RowIndex, int ColIndex), void *Object);
Arguments
Prob
|
The current SLP problem.
|
UserFunc
|
The function to be called when an evaluation fails.
|
myProb
|
The problem passed to the callback function.
|
myObject
|
The user-defined object passed as
Object to
XSLPsetcbcoefevalerror.
|
RowIndex
|
The row position of the coefficient.
|
ColIndex
|
The column position of the coefficient.
|
Object
|
Address of a user-defined object, which can be used for any purpose by the function.
Object is passed to
UserFunc as
myObject.
|
Further information
This callback can be used to capture when an evaluation of a coefficient fails. The callback is called only once for each coefficient.
Related topics