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 dear friend
i am using your code, and i thanks to you for this.
but i have an error that is related to heapify or heappush function in cvrp_advancedga.py file that error is:
"unorderable types: Solution() < Solution()"
and should i say that this error happend some time, not all the time
what should i do for solving that??
The text was updated successfully, but these errors were encountered:
Hi Dante,
Can you tell me any more information such as:
python version
how long after running the error occurs
The error suggests that the heap sorting mechanism is sorting on the Solution object rather than the cost, i.e it should always be (solution.cost, solution)
first of all, thank you for your suggestion,
error solved (except one time that the same error occur for heappush)
my python version is 3.4.0
and the error occurred in different times, sometimes before any iter, sometimes after some iter and sometimes no error occurred
i appreciate for your fast reply.
hello dear friend
i am using your code, and i thanks to you for this.
but i have an error that is related to heapify or heappush function in cvrp_advancedga.py file that error is:
"unorderable types: Solution() < Solution()"
and should i say that this error happend some time, not all the time
what should i do for solving that??
The text was updated successfully, but these errors were encountered: