Skip to content

Commit bc623a2

Browse files
committed
Fix comment.
1 parent 917ccb0 commit bc623a2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pyomo/solvers/plugins/solvers/xpress_direct.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -286,15 +286,15 @@ def is_flush(self):
286286
class OptNodeCallbackContext(CallbackContext):
287287
"""Data passed to optnode callbacks.
288288
289-
In addition to the super class, this class has two properties:
289+
In addition to the super class, this class has one property:
290290
- `infeas` [write]: Whether the node is considered infeasible.
291291
"""
292292
def __init__(self, problem, solver, var2idx):
293293
super(OptNodeCallbackContext, self).__init__(problem, solver, var2idx)
294294
self._infeas = False
295295
@property
296296
def infeas(self):
297-
"""Message sent by this callback."""
297+
"""Whether the node is considered infeasible."""
298298
return self._infeas
299299
@infeas.setter
300300
def infeas(self, value):

0 commit comments

Comments
 (0)