Question: code this optmisation problem Each processing facility has maximum daily capacity ( litres ) but also requires a minimum amount of processing ( litres )
code this optmisation problem
Each processing facility has maximum daily capacity litres but also requires a minimum amount of processing litres to keep it running, as shown in the file.
We want to optimise the use of our tanker trucks to collect milk from the farms and transport it to the processing facilities. The travel costs are $ per km empty and $ per km with milk on board, so that a roundtrip costs $ times the oneway distance. You can assume that trucks average kmh so that the roundtrip travel times are times the oneway distance.
We want to assign each farm to one processing facility so that all supply in processed each day. Please provide us with the minimum total cost of collections.
We have realised that we need to plan the scheduling of specific vehicles since a tanker can only be used for at most hours per day.
Each processing facility can have a fleet of up to tankers Due to shared maintenance costs, the first tanker at a facility costs $ per day to run while the second costs $ the third costs $ and so on Based on this, please provide us with the minimum total cost of collections.
the code provided
from gurobipy import
##Sets
Farms Cowbell 'Creamy Acres', 'Milky Way', 'Happy Cows', 'Udder Delight', 'Fresh Pail', 'Cowabunga', 'Utopia', 'Moo Meadows', 'Bluebell', 'Harmony', 'Velvet Valley', 'Moonybrook', 'Cloven Hills', 'Midnight Moo', 'Willows Bend', 'Moosa Heads', 'Dreamy Dairies', 'Happy Hooves', 'Highlands'
nfarms lenFarms
##Data
Supply
Distance
PMin
PMax
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
