File tree 1 file changed +3
-3
lines changed
pyomo/solvers/plugins/solvers
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -76,8 +76,8 @@ def _finalize_xpress_import(xpress, avail):
76
76
xpress .rng = xpress .range
77
77
78
78
#
79
- # Xpress 9.5 (44.1.1) changed the Python fairly significantly. we will map
80
- # between the two APIs based on the version.
79
+ # Xpress 9.5 (44.1.1) changed the Python API fairly significantly.
80
+ # We will map between the two APIs based on the version.
81
81
#
82
82
if XpressDirect ._version < (44 ,):
83
83
@@ -164,7 +164,7 @@ def _addConstraint(
164
164
165
165
# Note that as of 9.5, xpress.var raises an exception when
166
166
# compared using '==' after it has been removed from the model.
167
- # This can fould up ComponentMaps in the persistent interface,
167
+ # This can foul up ComponentMaps in the persistent interface,
168
168
# so we will hard-code the `var` as not being hashable (so the
169
169
# ComponentMap will use the id() as the key)
170
170
ComponentMap .hasher .hashable (xpress .var , False )
You can’t perform that action at this time.
0 commit comments