We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 42f5386 commit 5e804e7Copy full SHA for 5e804e7
mip/highs.py
@@ -167,13 +167,12 @@
167
if has_highs:
168
ffi.cdef(HEADER)
169
170
-STATUS_ERROR = highslib.kHighsStatusError
+ STATUS_ERROR = highslib.kHighsStatusError
171
172
-
173
-def check(status):
174
- "Check return status and raise error if not OK."
175
- if status == STATUS_ERROR:
176
- raise mip.InterfacingError("Unknown error in call to HiGHS.")
+ def check(status):
+ "Check return status and raise error if not OK."
+ if status == STATUS_ERROR:
+ raise mip.InterfacingError("Unknown error in call to HiGHS.")
177
178
179
class SolverHighs(mip.Solver):
0 commit comments