Skip to content

Commit 534358d

Browse files
committed
Xpress reduced costs
1 parent cc36f7a commit 534358d

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

docs/source/attribute/xpress.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,9 @@
9797
* - IISUpperBound
9898
-
9999
-
100+
* - ReducedCost
101+
-
102+
-
100103
:::
101104

102105
### Supported [constraint attribute](#pyoptinterface.ConstraintAttribute)

src/pyoptinterface/_src/xpress.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ def get_rawstatusstring(model):
279279
VariableAttribute.IISUpperBound: lambda model, v: model.get_variable_upperbound_IIS(
280280
v
281281
),
282-
# VariableAttribute.??: lambda model, v: model.get_variable_rc(v),
282+
VariableAttribute.ReducedCost: lambda model, v: model.get_variable_rc(v),
283283
}
284284

285285
variable_attribute_set_func_map = (

0 commit comments

Comments
 (0)