Initializing help system before first use

XSLPchgtolset

Purpose
This subroutine is deprecated and will be removed in a future release.
Add or change a set of convergence tolerances used for SLP variables.
Topic areas
Synopsis
int XSLPchgtolset(XSLPprob prob, int ntols, int *status, double tols[]);
Arguments
prob 
The current SLP problem.
tolset 
Tolerance set for which values are to be changed. A zero value for tolset will create a new set.
status 
Address of an integer holding a bitmap describing which tolerances are active in this set. See below for the settings.
tols 
Array of 9 double precision values holding the values for the corresponding tolerances.
Example
The following example creates a new tolerance set with the default values for all tolerances except the relative delta tolerance, which is set to 0.005. It then changes the value of the absolute delta and absolute impact tolerances in tolerance set 6 to 0.015
int status;
double tols[9];

tols[2] = 0.005;
status = 1<<2;
XSLPchgtolset(prob, 0, &status, tols);
tols[1] = tols[5] = 0.015;
status = 1<<1 | 1<<5;
XSLPchgtolset(prob, 6, &status, tols);
Further information
The bits in status are set to indicate that the corresponding tolerance is to be changed in the tolerance set. The meaning of the bits is as follows:

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

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. The members of the tols array corresponding to nonzero bit settings in status will be used to change the tolerance set. So, for example, if bit 3 is set in status, then tols[3] will replace the current value of the absolute coefficient tolerance. If a bit is not set in status, the value of the corresponding element of tols is unimportant.
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.