When trying to run this code
for i in range(N): jobs.append(mp.Process(None,G_Sim,(lmbda,mu,c,skip_cost,simulation_time,Policy,warmup_period,False,))) for j in jobs: j.start() j.join()
I get an assertion Error: Name must be a string
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The
mp.Process()function call is defined as below:The third argument should be a name for the process, as a string. You are passing the following tuple:
(lmbda,mu,c,skip_cost,simulation_time,Policy,warmup_period,False,)
You should name your arguments. Something like: