Initializing help system before first use

XSLPgetcolinfo, XPRSslpgetcolinfo

Purpose
Get current column information.
Topic areas
Synopsis
int XSLP_CC XSLPgetcolinfo(XSLPprob prob, int type, int col, XPRSalltype *p_info);
Arguments
prob 
The current SLP problem
type 
Type of information (see below)
col 
Index of the column whose information is to be handled
p_info 
Pointer to a variable to receive the information
Example
The following example prints the current value of variable 3:
XPRSalltype alltype;
XSLPgetcolinfo(prob, XSLP_COLINFO_VALUE, 3, &alltype);
printf("value[3]=%f\n", alltype.value.real);
Further information
1. If the data is not available, the type of the returned p_info is set to XPRStype_undefined.
2. Please refer to the header file xprs.h for the definition of XPRSalltype.
3. The following constants are provided for column information handling:
XSLP_COLINFO_VALUE
Get the current value of the column
XSLP_COLINFO_RDJ
Get the current reduced cost of the column
XSLP_COLINFO_DELTAINDEX
Get the delta variable index associated to the column
XSLP_COLINFO_DELTA
Get the delta value (change since previous value) of the column
XSLP_COLINFO_DELTADJ
Get the delta variables reduced cost
XSLP_COLINFO_UPDATEROW
Get the index of the update (or step bound) row associated to the column
XSLP_COLINFO_SB
Get the step bound on the variable
XSLP_COLINFO_SBDUAL
Get the dual multiplier of the step bound row for the variable
XSLP_COLINFO_DETROW
The determining row for the variable (or -1 if it is not determined)
XSLP_COLINFO_CONVERGENCESTATUS
The convergence status of the variable (0 if unconverged, 1-based index of the convergencetolerance that applied otherwise)
4. This function can be used to get the current SLP iteration solution in the case where this is not available using XSLPgetslpsol due to solution filtering via XSLP_FILTER.
5. The convergence status will be an item from the following list:

convergencestatus Tolerance
0 unconverged
1 Closure tolerance (TC)
2 Absolute delta tolerance (TA)
3 Relative delta tolerance (RA)
4 Absolute coefficient tolerance (TM)
5 Relative coefficient tolerance (RM)
6 Absolute impact tolerance (TI)
7 Relative impact tolerance (RI)
8 Absolute slack tolerance (TS)
9 Relative slack tolerance (RS)
other user convergence



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