minor
This commit is contained in:
parent
aa8130ee78
commit
031a938252
@ -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,))
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user