problem.getrowinfo
problem.getrowinfo |
Purpose
Get current row information.
Synopsis
info = problem.getrowinfo(infotype, rowindex)
Arguments
infotype
|
Type of information (see below)
|
rowindex
|
Row (i.e.
xpress.constraint object, index, or name) whose information is to be handled
|
info
|
Information to be retrieved
|
Further information
If the data is not available, the type of the returned info is set to xpress.undefined.
The following constants are provided for row information handling:
- rowinfo_slack
- Get the current slack value of the row
- rowinfo_dual
- Get the current dual multiplier of the row
- rowinfo_numpenaltyerrors
- Get the number of times the penalty error vector has been active for the row
- rowinfo_maxpenaltyerror
- Get the maximum size of the penalty error vector activity for the row
- rowinfo_totalpenaltyerror
- Get the total size of the penalty error vector activity for the row
- rowinfo_currentpenaltyerror
- Get the size of the penalty error vector activity in the current iteration for the row
- rowinfo_currentpenaltyfactor
- Set the size of the penalty error factor for the current iteration for the row
- rowinfo_penaltycolumnplus
- Get the index of the positive penalty column for the row (+)
- rowinfo_penaltycolumnplusvalue
- Get the value of the positive penalty column for the row (+)
- rowinfo_penaltycolumnplusdj
- Get the reduced cost of the positive penalty column for the row (+)
- rowinfo_penaltycolumnminus
- Get the index of the negative penalty column for the row (-)
- rowinfo_penaltycolumnminusvalue
- Get the value of the negative penalty column for the row (-)
- rowinfo_penaltycolumnminusdj
- Get the reduced cost of the negative penalty column for the row (-)