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

Compiling new shared library after modifying the C #29

Open menco22 opened 3 months ago

menco22 commented 3 months ago

I apologize for all these issues, but these are doubts I need to clarify. By installing the hygese library with pip, I am able to run the algorithm successfully in Python (except for the issue related to the previous duration_limit issue). I have modified the C code and compiled the shared library (following the instructions on Vidal's GitHub page) to allow the wrapper to use my modified version of C (the library in question is libhgscvrp.so). The tests conducted via the terminal are good and end with success. However, when I try to use the algorithm with the Python wrapper, I consistently get 0 iterations. Clearly, there is an issue! The folder where I copy libhgscvrp.so is the same folder where the "functional" library is installed using "pip install hygese". Additionally, there are differences in size between the library compiled following your instructions and the one downloaded via pip. Could you please provide some solutions to this problem?

I apologize for the inconvenience and thank you for your attention while awaiting your response.