Yu Shi
Yu Shi
Thank you. I made a quick demo and it works. class Schaffer_external(Problem): def __init__(self): super().__init__(1, 2) self.types[:] = Real(-10, 10) def evaluate(self, solution): x = solution.variables[:] with open('input.txt', 'w') as...
Now I need to figure out parallel tasks. Does Platypus run population in each generation in parallel? If so, what parameter I can use from the solution object to distinguish...
In parallel case, is there anyway I can send the process number (population number) to the problem evaluator? If so, I can create files with different names corresponding to different...