This commit is contained in:
martin 2024-02-28 16:17:07 +01:00
parent aa8130ee78
commit 031a938252

View File

@ -18,7 +18,7 @@ try:
except:
import json
from gurobipy import *
# from gurobipy import *
import xpress as xp
from multiprocessing import Pool, cpu_count
@ -363,7 +363,6 @@ result = {}
answer = {}
threads = cpu_count()
threads -= 2
# threads = 2
for cpu in range(threads):
result[cpu] = pool.apply_async(simulate_craw_and_calendar, args=(f'thread_{cpu}', n,))