Initializing help system before first use

XSLPgetstrattrib

Purpose
Retrieve the value of a string problem attribute
Synopsis
int XPRS_CC XSLPgetstrattrib(XSLPprob prob, int attrib, char *value);
Arguments
prob 
The current SLP problem.
attrib 
attribute (SLP or optimizer) whose value is to be returned.
value 
Character buffer to receive the value.
Example
The following example retrieves the value of the Xpress NonLinear attribute XSLP_VERSIONDATE and of the optimizer attribute XPRS_MATRIXNAME:
char VersionDate[200], MatrixName[200];
XSLPgetstrattrib(prob, XSLP_VERSIONDATE, VersionDate);
XSLPgetstrattrib(prob, XPRS_MATRIXNAME, MatrixName);
Further information
Both SLP and optimizer attributes can be retrieved using this function. If an optimizer attribute is requested, the return value will be the same as that from XPRSgetstrattrib, which can similarly be used to obtain both Optimizer and SLP attributes.
Related topics

© 2001-2024 Fair Isaac Corporation. All rights reserved. This documentation is the property of Fair Isaac Corporation (“FICO”). Receipt or possession of this documentation does not convey rights to disclose, reproduce, make derivative works, use, or allow others to use it except solely for internal evaluation purposes to determine whether to purchase a license to the software described in this documentation, or as otherwise set forth in a written software license agreement between you and FICO (or a FICO affiliate). Use of this documentation and the software described in it must conform strictly to the foregoing permitted uses, and no other use is permitted.