This commit is contained in:
Mizux Seiha
2023-05-31 00:42:54 +02:00
parent ebb88d9c50
commit 09d0ddccac

View File

@@ -1293,7 +1293,7 @@ class ModelSolver:
"""Checks that solve has run and has found a feasible solution."""
if not self.__solve_helper.has_solution():
raise RuntimeError(
'solve() has not be called, or no solution has been found.')
'solve() has not been called, or no solution has been found.')
def stop_search(self):
"""Stops the current search asynchronously."""