Initializing help system before first use

XSLPgettolset

Purpose
This subroutine is deprecated and will be removed in a future release.
Retrieve the values of a set of convergence tolerances for an SLP problem.
Topic areas
Synopsis
int XSLPgettolset(XSLPprob prob, int tolset, int *p_status, double tols[]);
Arguments
prob 
The current SLP problem.
tolset 
The index of the tolerance set.
p_status 
Address of integer to receive the bit-map of status settings. May be NULL if not required.
tols 
Array of 9 double-precision values to hold the tolerances. May be NULL if not required.
Example
The following example retrieves the values for tolerance set 3 and prints those which are set:
double tols[9];
int i, status;
XSLPgettolset(prob, 3, &status, tols);
for (i=0;i<9;i++)
  if (status & (1<<i))
    printf("\nTolerance %d = %lg",i,tols[i]);
Further information
1. If p_status or tols is NULL, then the corresponding information will not be returned.
2. If tols is not NULL, then a set of 9 values will always be returned. p_status indicates which of these values is active as follows. Bit n of p_status is set if tols[n] is active, where n is:

Entry / Bit Tolerance XSLP constant XSLP bit constant
0 Closure tolerance (TC) XPRS_SLPTOLSET_TC XPRS_SLPTOLSETBIT_TC
1 Absolute delta tolerance (TA) XPRS_SLPTOLSET_TA XPRS_SLPTOLSETBIT_TA
2 Relative delta tolerance (RA) XPRS_SLPTOLSET_RA XPRS_SLPTOLSETBIT_RA
3 Absolute coefficient tolerance (TM) XPRS_SLPTOLSET_TM XPRS_SLPTOLSETBIT_TM
4 Relative coefficient tolerance (RM) XPRS_SLPTOLSET_RM XPRS_SLPTOLSETBIT_RM
5 Absolute impact tolerance (TI) XPRS_SLPTOLSET_TI XPRS_SLPTOLSETBIT_TI
6 Relative impact tolerance (RI) XPRS_SLPTOLSET_RI XPRS_SLPTOLSETBIT_RI
7 Absolute slack tolerance (TS) XPRS_SLPTOLSET_TS XPRS_SLPTOLSETBIT_TS
8 Relative slack tolerance (RS) XPRS_SLPTOLSET_RS XPRS_SLPTOLSETBIT_RS


3. The SLPTOLSET constants can be used to access the corresponding entry in the value arrays, while the SLPTOLSETBIT constants are used to set or retrieve which tolerance values are used for a given SLP variable.
Related topics

© 2001-2026 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.