Initializing help system before first use

XSLPgetptrattrib

XSLPgetptrattrib


Purpose
Retrieve the value of a problem pointer attribute
Synopsis
int XPRS_CC XSLPgetptrattrib(XSLPprob Prob, int Param, void **Value);
Arguments
Prob 
The current SLP problem.
Param 
attribute whose value is to be returned.
Value 
Address of a pointer to receive the value.
Example
The following example retrieves the value of the Xpress NonLinear pointer attribute XSLP_XPRSPROBLEM which is the underlying optimizer problem pointer:
XPRSprob xprob;
XSLPgetptrattrib(Prob, XSLP_XPRSPROBLEM, &xprob);
Further information
This function is normally used to retrieve the underlying optimizer problem pointer, as shown in the example.
Related topics