Question: I want the COMPLETE PYTHON CODE FOR THIS VRP _ TSP ( ESPECIALLY UNTIL QUESTION 2 ) using gurobi: import math from gurobipy import GRB

I want the COMPLETE PYTHON CODE FOR THIS VRP_TSP (ESPECIALLY UNTIL QUESTION 2)using gurobi: import math
from gurobipy import GRB
import gurobipy as gp
import networkx as nx)
ANSWER WHAT I AM ASKING, PLEASE!!!
A furniture manufacturer stores fumiture in a warehouse located at coordinates x=420 and Y=700, for weekly deliveries to various
consumption sites. The firm operates a fleet of four trucks, each with a hauling capacity of 40000kg. For a specific week, the required
deliveries are detailed in the following table.
The trucks should be scheduled to ship all orders for the week at one time, starting from the warehouse. The capacities of the trucks must not be exceeded, and all trucks should return to the warehouse upon completion of their routes. Road distances are estimated to be 20% higher than straight-line, coordinate-computed distances. Each route incurs a fixed cost of 200 and truck costs are 0.8 per kilometre.
Q1.Using the MILP formulation, solve the problem for the least
distance set of routes, eliminating sub-tours with the MTZ constraints. Calculate the vehicle capacity utilization for each route and provide comments on the reaults. Present the final routes in a figure. Q2. Modify the existing model to minimize cost and compare the resulting solution with the solution obtained in question 1. What impact would result if the manufacturer could use less than four trucks? Rewrite the constraint that translates this change. Comment on the results. Q3. Consider the solution from question 1. Calculate the overall cost of this solution, including labour costs. Assume the following
conditions: drivers operate within two 4-hour periods each day, separated by a 30-minute break; the average speed is 75kmh; drivers must return to the depot; labour is priced at 25 C per hour (including breaks); and the overnight cost is 1406. Illustrate the drivers' schedule in a diagram. Tip: Optimization is not required to answer this question. Q4. Analyse the workload distribution among drivers based on the routes obtained from question 1. Propose a more evenly balanced set of routes, calculate the overall costs for your proposed solution, and provide comments on the results. Illustrate the proposed drivers' schedule in a diagram. Tip: Optimization is not required to answer this question.
 I want the COMPLETE PYTHON CODE FOR THIS VRP_TSP (ESPECIALLY UNTIL

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!