Initializing help system before first use

XSLPgetcolinfo, XPRSslpgetcolinfo

Purpose
Get current column information.
Synopsis
int XSLP_CC XSLPgetcolinfo(XSLPprob prob, int type, int col, XSLPalltype *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 
Address of information to be set or retrieved
Example
The following example prints the current value of variable 3:
XSLPalltype 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 XSLPtype_undefined.

Please refer to the header file xprs.h for the definition of XPRSalltype which is identical to XSLPalltype.

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
2. 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.

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