We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents db80ff9 + 89c6da5 commit a1cf555Copy full SHA for a1cf555
pyomo/contrib/appsi/solvers/highs.py
@@ -273,7 +273,7 @@ def _solve(self, timer: HierarchicalTimer):
273
self._warm_start()
274
timer.start('optimize')
275
ostreams[-1].write("RUN!\n")
276
- if self.version()[0] >= 1 and self.version()[1] >= 8:
+ if self.version()[:2] >= (1, 8):
277
self._solver_model.HandleKeyboardInterrupt = True
278
self._solver_model.run()
279
timer.stop('optimize')
0 commit comments