Unable to speed up Python DEAP with Multiprocessing
问题 I am using the below sample code for OneMax problem (maximizing the number of ones of a bitstring) using DEAP package and multiprocessing. I am unable to speed up the process using multiprocessing. I want to use this for a more complex problem before finding out what is the issue here. Thank you. import array import multiprocessing from multiprocessing import Pool import random import time import numpy as np from deap import algorithms from deap import base from deap import creator from deap