XSLPgetrowinfo, XPRSslpgetrowinfo
Purpose
Get current row information.
Topic areas
Synopsis
int XSLP_CC XSLPgetrowinfo(XSLPprob prob, int type, int row, XPRSalltype *p_info);
Arguments
|
prob
|
The current SLP 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;
XSLPgetrowinfo(prob, XSLP_ROWINFO_CURRENTPENALTYFACTOR, 1, &alltype);
printf("penaltyfactor[1]=%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 row information handling:
- XSLP_ROWINFO_SLACK
- Get the current slack value of the row
- XSLP_ROWINFO_DUAL
- Get the current dual multiplier of the row
- XSLP_ROWINFO_NUMPENALTYERRORS
- Get the number of times the penalty error vector has been active for the row
- XSLP_ROWINFO_MAXPENALTYERROR
- Get the maximum size of the penalty error vector activity for the row
- XSLP_ROWINFO_TOTALPENALTYERROR
- Get the total size of the penalty error vector activity for the row
- XSLP_ROWINFO_CURRENTPENALTYERROR
- Get the size of the penalty error vector activity in the current iteration for the row
- XSLP_ROWINFO_CURRENTPENALTYFACTOR
- Set the size of the penalty error factor for the current iteration for the row
- XSLP_ROWINFO_PENALTYCOLUMNPLUS
- Get the index of the positive penalty column for the row (+)
- XSLP_ROWINFO_PENALTYCOLUMNPLUSVALUE
- Get the value of the positive penalty column for the row (+)
- XSLP_ROWINFO_PENALTYCOLUMNPLUSDJ
- Get the reduced cost of the positive penalty column for the row (+)
- XSLP_ROWINFO_PENALTYCOLUMNMINUS
- Get the index of the negative penalty column for the row (-)
- XSLP_ROWINFO_PENALTYCOLUMNMINUSVALUE
- Get the value of the negative penalty column for the row (-)
- XSLP_ROWINFO_PENALTYCOLUMNMINUSDJ
- Get the reduced cost of the negative penalty column for the row (-)
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.
© 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.
