subject

You are consulting for a trucking company that does a large amount ofbusiness shipping packages between new york and boston. the volume ishigh enough that they have to send a number of trucks each day betweenthe two locations. trucks have a fixed limit w on the maximum amountof weight they are allowed to carry. boxes arrive at the new york stationone by one, and each package i has a weight wi. the trucking stationis quite small, so at most one truck can be at the station at any time. company policy requires that boxes are shipped in the order they arrive; otherwise, a customer might get upset upon seeing a box that arrivedafter his make it to boston faster. at the moment, the company is usinga simple greedy algorithm for packing: they pack boxes in the order theyarrive, and whenever the next box does not fit, they, send the truck on itsway. but they wonder if they might be using too many trucks, and theywant your opinion on whether the situation can be improved. here ishow they are thinking. maybe one could decrease the number of trucksneeded by sometimes sending off a truck that was less full, and in thisway allow the next few trucks to be better packed. prove that, for a given set of boxes with specified weights, the greedyalgorithm currently in use actually minimizes the number of trucks thatare needed. your proof should follow the type of analysis we used forthe interval scheduling problem: it should establish the optimality of thisgreedy packing algorithm by identifying a measure under which it "staysahead" of all other solutions.

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 24.06.2019 00:20
The guy wire bd exerts on the telephone pole ac a force p directed along bd. knowing the p must have a 720-n component perpendicular to the pole ac, determine the magnitude of force p and its component along line ac.
Answers: 2
question
Computers and Technology, 24.06.2019 20:50
Which key function of a business involves finding, targeting, attracting, and connecting with the right customers?
Answers: 3
question
Computers and Technology, 25.06.2019 02:30
How to delete a question in
Answers: 2
question
Computers and Technology, 25.06.2019 08:10
What refrigerant has been approved for new household refrigerators and freezers
Answers: 1
You know the right answer?
You are consulting for a trucking company that does a large amount ofbusiness shipping packages betw...
Questions
question
Mathematics, 23.04.2020 04:16
question
Mathematics, 23.04.2020 04:16
Questions on the website: 13722360