Closed ChAdilHussainGujjar closed 2 weeks ago
Thanks for bringing that to my attention. I have added a folder called ESWA_Code_Submission in the repository. You can find the dataset there.
Hey, I am facing the ModuleNotFoundError: No module named 'ortools I have already installed the ortools, and i checked it is installed, version 9.7.2996, but still it says the same ModuleNotFoundError
Add a cell in the beginning of the Jupyter notebook and in the cell add the below code and run for installations. Let me know if it works
!pip install pandas !pip install scipy !pip install numpy !pip install sklearn !pip install ortools==9.4.1874 !pip install pulp !pip install k-means-constrained>=0.7.2
yes it worked now, I face an error in Cell 33, line 15 TypeError: 'float' object cannot be interpreted as an integer
can you send the screenshot of the cell and error. OR you can check to ensure that the datatypes used are consistent.
here it is.
Got it. unfortunately I do not encounter this error on my local run. It is a problem with a datatype which is supposed to be an int but is a float. look into the variables profits, weight and capacities to see which you need to asjust. you can also take a look at the googleORtools API.
I tried, but couldn't understand where exactly I needed to fix it. Can you please try if it is possible?
These 2 csv files are missing in the code. can you please share these files? EVinfrastructureZero.csv SupplyPointsDistanceMatrix.csv