Question: Given a gas station with two pumps, and a collection of cars 1, 2, ..., n with filling time s, for item i (on both

Given a gas station with two pumps, and a collection of cars 1, 2, ..., n with filling time s, for item i (on both pumps). Find a schedule that assigns cars to the two pumps, so that if the first pump is assigned a sum of t_1 and the second a sum of t_2, max{t_1, t_2} is minimum. Note that you only have to decide which car is assigned to pump 1 and which to pump 2, because the order will not change the sum. This will minimize the maximum time that any of the two pumps are ''busy", hence it is of benefit for the gas station
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
