XSLPgetrowinfo
XSLPgetrowinfo |
Purpose
Get current row information.
Synopsis
int XSLP_CC XSLPgetrowinfo(XSLPprob Prob, int InfoType, int RowIndex, XSLPalltype *Info);
Arguments
Prob
|
The current SLP problem
|
InfoType
|
Type of information (see below)
|
RowIndex
|
Index of the row whose information is to be handled
|
Info
|
Address of information to be set or retrieved
|
Further information
If the data is not available, the type of the returned Info is set to XSLPtype_undefined.
Please refer to the header file xslp.h for the definition of XSLPalltype.
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 (-)