Answered step by step
Verified Expert Solution
Question
1 Approved Answer
I want the complete python code for this VRP _ TSP problem using gurobi: import math from gurobipy import GRB import gurobipy as gp import
I want the complete python code for this VRPTSP problem using gurobi: import math
from gurobipy import GRB
import gurobipy as gp
import networkx as nx
A furniture manufacturer stores fumiture in a warehouse located at coordinates and for weekly deliveries to warious
consumption sites. The firm operates a fleet of four trucks, each with a hauling capacity of For a apecific 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 higher than straightline,
coordinatecomputed distances. Each route incurs a fixed cost of and truck costs are per kilometre.
Using the MILP formulation covered in the class which should be applied to this case and presented in the report solve the problem for the least
distance set of routes, eliminating subtours 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. Modify the existing model to minimize cost and compare the resulting solution with the solution obtained
in question What impact would result if the manufacturer could use less than four trucks? Rewrite the constraint that translates this change. Comment
on the results. Consider the solution from question Calculate the overall cost of this solution, including labour costs. Assume the following
conditions: drivers operate within two hour periods each day, separated by a minute break; the average speed is ; drivers must return to the
depot; labour is priced at euro per hour including breaks; and the overnight cost is euro. Illustrate the drivers' schedule in a diagram. Tip: Optimization is
not required to answer this question. Analyse the workload distribution among drivers based on the routes obtained from question Propose a more
evenly balanced set of routes, calculate the overall costs for your proposed solution, and provide comments on the results. Ulustrate the proposed drivers'
achedule in a diagram. Tip: Optimization is not required to answer this question.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started