chkwon / PyHygese

A Python wrapper for the Hybrid Genetic Search algorithm for Capacitated Vehicle Routing Problems (HGS-CVRP)
MIT License
82 stars 11 forks source link

0 Iterations #26

Closed menco22 closed 5 months ago

menco22 commented 6 months ago

Whenever the algorithm is used via wrapper (including test examples, both with the distance matrix and with the coordinates), I always get 0 iterations as a result and a total time for the algorithm's execution that does not conform to the times given to me by the HGS in C++. Furthermore, intermediate iterations are not printed (probably related to the initial problem of 0 iterations). Immagine 2024-04-10 190317

menco22 commented 6 months ago

solved!

chkwon commented 6 months ago

Sounds great. What was the issue?

menco22 commented 4 months ago

I apologize for the delayed response, but university commitments have fully occupied my time, and consequently, I had to set aside this project. The problem was due to a previous incorrect installation of HYGESE in my project. I take this opportunity to ask another question regarding the code: is the distance matrix that we pass as input to the algorithm made up of spatial or temporal distances? Because looking at the Individual.cpp section, it seems that the distances are actually temporal! I apologize again for the delayed response and thank you in advance for your attention.