Sergio

Results 4 comments of Sergio

Hi @blankjul, in my case I've created a problem with only binary variables, and I've found that I'm encountering the same error as mentioned in the first comment of the...

First, thank you for your response. For example, run the following code: ```python class MyBinaryProblem(ElementwiseProblem): def __init__(self): super().__init__(n_var=24, n_obj=2, n_ieq_constr=0, n_eq_constr=4, xl=0, xu=1, vtype=bool) def _evaluate(self, x, out, *args, **kwargs):...

It seems that the issue arises because I defined my problem using `ElementwiseProblem`. When evaluating the function for the following [code](https://github.com/anyoptimization/pymoo/blob/ad3ef6076a6bc7eed7c858c5776afadfb76fb5dd/pymoo/core/problem.py#L32), it creates a new array. Subsequently, the function is...

Ok, I understand. I will try the code you provided, thank you. Regarding the use of ElementwiseProblem, I've been doing some tests and I would like to suggest the following...