make sure to generate the correct solution before breaking the loop

This commit is contained in:
Adrian Manteza
2022-03-14 14:45:02 +00:00
parent 98922bfc4c
commit ff9d9b3d49
3 changed files with 22 additions and 16 deletions

View File

@ -119,7 +119,6 @@ class SolverSandbox:
print(problem.objective)
drift += 1
else:
print(f"solution found with drift of {drift}!")