You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`# define the variable type which will be checked before the evaluation
self.type_var = np.int
`
When I change the self.type_var as np.int when defining custom problem, and running nsga3 algorithm present in pymoo, I am getting below error. Can't I chane the type of variable?
` File "/home/coea/anaconda3/envs/pymoo/lib/python3.6/site-packages/pymop/problem.py", line 132, in evaluate
% (self.type_var, type_of_var))
Exception: As variable type for this problem <class 'int'> was defined. However, it is evaluated with float64!`
The text was updated successfully, but these errors were encountered:
`# define the variable type which will be checked before the evaluation
`
When I change the self.type_var as np.int when defining custom problem, and running nsga3 algorithm present in pymoo, I am getting below error. Can't I chane the type of variable?
` File "/home/coea/anaconda3/envs/pymoo/lib/python3.6/site-packages/pymop/problem.py", line 132, in evaluate
% (self.type_var, type_of_var))
Exception: As variable type for this problem <class 'int'> was defined. However, it is evaluated with float64!`
The text was updated successfully, but these errors were encountered: