Question: Solve it using the Clarke and Wright savings method. Write the demand constraint as code. PLEASE USE PYHTON 3. minimum number of vehicle needed =




Solve it using the Clarke and Wright savings method. Write the demand constraint as code. PLEASE USE PYHTON 3.
\begin{tabular}{c|c|c|} & A & \multicolumn{1}{c}{ B } \\ \hline 1 & Vehicle capacity & 120 \\ \hline 2 & & \\ \hline \end{tabular} \begin{tabular}{|r|r|r|} \hline & A & \multicolumn{1}{|c|}{ B } \\ \hline 1 & nodes & demand \\ \hline 2 & 0 & 0 \\ \hline 3 & 1 & 10 \\ \hline 4 & 2 & 10 \\ \hline 5 & 3 & 10 \\ \hline 6 & 4 & 10 \\ \hline 7 & 5 & 10 \\ \hline 8 & 6 & 10 \\ \hline 9 & 7 & 10 \\ \hline 10 & 8 & 10 \\ \hline 11 & 9 & 10 \\ \hline 12 & 10 & 10 \\ \hline 13 & 11 & 10 \\ \hline 14 & 12 & 10 \\ \hline 15 & 13 & 10 \\ \hline 16 & 14 & 10 \\ \hline 17 & 15 & 10 \\ \hline 18 & 16 & 10 \\ \hline 19 & 17 & 10 \\ \hline 20 & 18 & 10 \\ \hline 21 & 19 & 10 \\ \hline 22 & 20 & 10 \\ \hline 23 & 21 & 10 \\ \hline 24 & 22 & 10 \\ \hline 25 & 23 & 10 \\ \hline 26 & 24 & 10 \\ \hline 27 & 25 & 10 \\ \hline 28 & 26 & 10 \\ \hline 29 & 27 & 10 \\ \hline 30 & 28 & 10 \\ \hline 31 & 29 & 10 \\ \hline 32 & 30 & 10 \\ \hline \end{tabular} A delivery company serves 30 customers daily. The owner of this company hired an industrial engineer to calculate the best routes in order to minimize the transportation costs. With the attached Excel file containing the distance matrix, customer requirements, and vehicle capacity, the industrial engineer was able to solve a Vehicle Routing Problem (VRP) that aims to minimize travel distance by requiring a minimum number of vehicles (Hint: minimum number of vehicles =vehiclecapacityTotalnumberofdemands]. The industrial engineer wants to develope a heuristic algorithm to obtain the optimal/close to the optimal solution. Thus, he/she chose to construct the initial solution based on the Savings Algorithm, followed by improving it with 2-opt and 2-exchange algorithms. Additionally, once a heuristic has been developed, he/she intends to compare the heuristic's solution to that of Gurobi for the same problem. In the case that you are hired as the mentioned industrial engineer, attempt to accomplish the tasks above. Note that node 0 represents depot and each vehicle should start and return to depot at the end of their tour. Tasks: 1- Apply Savings algorithm for the VRP (note that this algorithms should be rewritten for the VRP and not TSP)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
