scip: Use one thread in samples

Tempory fix until https://github.com/scipopt/scip/issues/5 is fixed...
This commit is contained in:
Corentin Le Molgat
2021-08-09 13:09:59 +02:00
parent 7cf490ce7b
commit c054d91dce
2 changed files with 2 additions and 2 deletions

View File

@@ -64,7 +64,7 @@ def IntegerProgrammingExample():
# Solve the problem and print the solution.
# [START print_solution]
solver.SetNumThreads(8)
solver.SetNumThreads(1)
solver.Solve()
# Print the objective value of the solution.
print('Maximum objective function value = %d' % solver.Objective().Value())