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
We are using linear programming optimization in gurobipy to solve for optimal garbage collection.
As distances matrix is in meters (huge number) whereas fill ratio is between 0 and 1, it gives us weight of distance as 0 as removing weight will minimize the function most. To counter this bug we normalize all distances by dividing distance in each row with that rows maximum value.
Time between each dynamic computation is taken as 15 minutes (900s).
Speed of each truck is taken as 50 km/hour (13.88 m/s).
For 2 trucks in each ward total coverage is in range 35 to 45
For 3 trucks in each ward total coverage is in range 53 to 66
For 4 trucks in each ward total coverage is in range 78 to 85
For 5 trucks in each ward we have total coverage above 90 for all wards
Folder structure and files
Chandigarh QGIS : It contains all files related to QGIS we have used.
Data : It contains all data which we are using for our computation.
Bin Locations.csv : They are randomly generated points in QGIS and clustered using K-Means. The depot is assigned ward -1.
distances.csv : This contains the distance matrix of all points in same ward or from depot.
Static Data : Contains data regarding Static cases
Dynamic Data : Contains Data regarding Dynamic cases
Visited Truck # : Visited truck list with fill ratio
Truck # Data : Each truck data used for computation.
Statistics.csv : Stats for the respective case.
Python Files
get_distance.py : Run this to get distance matrix
static_function.py : Static Optimization code
dynamic_function.py : Dynamic Optimization code
multi_truck_function.py : Multiple trucks dynamic optimization function. It works only till 3 trucks in each ward.
four_plus_truck_function.py : Function to perform dynamic optimzation on 4+ trucks
four_plus_truck_worst_case_function.py : Function to perform dynamic optimzation on 4+ trucks in worst case