Initializing help system before first use

XPRSslpgetrowinfo, XSLPgetrowinfo

Purpose
Get current row information.
Topic areas
Synopsis
int XPRSslpgetrowinfo(XPRSprob prob, int type, int row, XPRSalltype *p_info);

int XSLPgetrowinfo(XSLPprob prob, int type, int row, XSLPalltype *p_info);
Arguments
prob 
The current problem
type 
Type of information (see below)
row 
Index of the row whose information is to be handled
p_info 
Pointer to a variable to receive the information
Example
The following example prints the current penalty factor of row 1:
XPRSalltype alltype;
XPRSslpgetrowinfo(prob, XPRS_SLPROWINFO_CURRENTPENALTYFACTOR, 1, &alltype);
printf("penaltyfactor[1]=%f\n", alltype.value.real);
Further information
1. The following constants are provided for row information handling:
XPRS_SLPROWINFO_SLACK
Get the current slack value of the row
XPRS_SLPROWINFO_DUAL
Get the current dual multiplier of the row
XPRS_SLPROWINFO_NUMPENALTYERRORS
Get the number of times the penalty error vector has been active for the row
XPRS_SLPROWINFO_MAXPENALTYERROR
Get the maximum size of the penalty error vector activity for the row
XPRS_SLPROWINFO_TOTALPENALTYERROR
Get the total size of the penalty error vector activity for the row
XPRS_SLPROWINFO_CURRENTPENALTYERROR
Get the size of the penalty error vector activity in the current iteration for the row
XPRS_SLPROWINFO_CURRENTPENALTYFACTOR
Get the size of the penalty error factor for the current iteration for the row
XPRS_SLPROWINFO_PENALTYCOLUMNPLUS
Get the index of the positive penalty column for the row (+)
XPRS_SLPROWINFO_PENALTYCOLUMNPLUSVALUE
Get the value of the positive penalty column for the row (+)
XPRS_SLPROWINFO_PENALTYCOLUMNPLUSDJ
Get the reduced cost of the positive penalty column for the row (+)
XPRS_SLPROWINFO_PENALTYCOLUMNMINUS
Get the index of the negative penalty column for the row (-)
XPRS_SLPROWINFO_PENALTYCOLUMNMINUSVALUE
Get the value of the negative penalty column for the row (-)
XPRS_SLPROWINFO_PENALTYCOLUMNMINUSDJ
Get the reduced cost of the negative penalty column for the row (-)
2. This function can be used to get the current SLP iteration solution in the case where this is not available using XPRSgetsolution due to solution filtering via SLPFILTER.

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