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 03:00
Check my work the microprocessor is a(n) circuit, which is designed to process data based on a set of instructions. most desktop and laptop devices contain a microprocessor based on the standard. most tablets and smartphones contain processors based on technology. a microprocessor's circuitry is designed to perform a limited number of tasks contained in its set. during processing, an instruction is loaded into the processor's unit. data is loaded into registers in the processor's where arithmetic and logic operations are performed. microprocessor performance can be measured by its speed. other factors affecting overall processing performance include word size, cache size, and instruction set complexity. most digital devices contain only one microprocessor chip, but today's multi- processors contain circuitry that supports parallel processing. computers contain various kinds of memory. random memory is a special holding area for data, program instructions, and the system. it stores data on a temporary basis until the processor makes a data request. ram is different from disk storage because it is , which means that it can hold data only when the computer power is turned on. computers also contain read- memory, which is a type of non-volatile memory that provides a set of "hard-wired" instructions, called the loader, that a computer uses to boot up.
Answers: 3
question
Computers and Technology, 22.06.2019 12:00
Which of the following “invisible” marks represents an inserted tab?
Answers: 1
question
Computers and Technology, 22.06.2019 21:30
After you clean an engine with hot water spray, it seems to stall; when it doesn't stall, it's idling noisily. technician a says to check for loose bolts on the flex plate near the torque converter. technician b says to wipe down the spark plug wires and the distributor cap. who is correct? a. technician a b. both technicians a and b c. technician b
Answers: 1
question
Computers and Technology, 23.06.2019 18:00
Which finger presses the h key on the keyboard? index finger on the left hand pinky finger on the right hand index finger on the right hand thumb on the left hand
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
English, 06.02.2021 03:20
question
English, 06.02.2021 03:20
question
Business, 06.02.2021 03:20
question
Mathematics, 06.02.2021 03:20
Questions on the website: 13722363