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

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 07:30
An endless cycle of creation and response on the internet is called
Answers: 1
question
Computers and Technology, 23.06.2019 01:30
In deadlock avoidance using banker’s algorithm, what would be the consequence(s) of: (i) a process declaring its maximum need as maximum possible for each resource. in other words, if a resource a has 5 instances, then each process declares its maximum need as 5. (ii) a process declaring its minimum needs as maximum needs. for example, a process may need 2-5 instances of resource a. but it declares its maximum need as 2.
Answers: 3
question
Computers and Technology, 23.06.2019 06:30
When early motion pictures played in movie theaters, they were often accompanied by live organ or piano music. which of the following are the most likely reasons that this happened? (select all that apply). the music was provided to distract audience members from the loud sounds made when filmstrips were changed. the music accompanied the movies because the movies were silent and audiences were used to hearing music during plays in theaters. the music usually was played before, and sometimes after the movie, as an alternative form of entertainment. the music viewers to interpret the dramatic action in the films.
Answers: 2
question
Computers and Technology, 24.06.2019 02:00
Read the following scenario, and then answer the question below. you want to send an e-mail to your boss requesting a meeting to discuss a raise. what is the best example of an e-mail to an employer about this meeting? “hey jason. can we chat about getting me more money soon? let me know. peace, meg.” “hello jason. pardon me for sending yet another e-mail today about my need to talk to you about my position and a possible pay increase. i am dying to know when you can talk. sincerely, meg.” “hello jason. i have been with the company for one year and have taken on more responsibilities than outlined in my job description. i would appreciate an opportunity to speak with you about my position. let me know when we can schedule a meeting. you, meg.” “greetings jason! i hope this e-mail finds you well and happy today. i really, really want to talk to you about something important. i am not sure if you have time. i hope you do. get back in touch with me and let me know when we might talk. ever so much for taking the time to read this. sincerely, meg.”
Answers: 3
You know the right answer?
You are consulting for a trucking company that does a large amount ofbusiness shipping packages betw...
Questions
question
Mathematics, 26.10.2020 03:20
question
Mathematics, 26.10.2020 03:20
question
Advanced Placement (AP), 26.10.2020 03:20
Questions on the website: 13722361