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
Hello,
thanks for that job.
i encounter an issue in usage:
I prepare my own optimization loops and an issu eoccurs in gbest computing the output value is not the minimum value.
i modify and try directly using GlobalBestPSO or GeneralOptimizerPSO and both return me that error at the end of first iterations run :
"mask_cost = swarm.current_cost < swarm.pbest_cost
TypeError: '>' not supported between instances of 'float' and 'NoneType' "
resulting code stop i guess it look like at first run the swarm.pbest_cost not been initialize
i am on
Win 10
Python 3.9.6
Pywswarms 1.3.0
The text was updated successfully, but these errors were encountered:
Hello,
thanks for that job.
i encounter an issue in usage:
I prepare my own optimization loops and an issu eoccurs in gbest computing the output value is not the minimum value.
i modify and try directly using GlobalBestPSO or GeneralOptimizerPSO and both return me that error at the end of first iterations run :
"mask_cost = swarm.current_cost < swarm.pbest_cost
TypeError: '>' not supported between instances of 'float' and 'NoneType' "
resulting code stop i guess it look like at first run the swarm.pbest_cost not been initialize
i am on
Win 10
Python 3.9.6
Pywswarms 1.3.0
The text was updated successfully, but these errors were encountered: