subject
Engineering, 14.02.2020 16:22 gjaime1307

Shipping Efficiently: A trucking company is responsible for shipping a large number of boxes that require many trips from New York to Boston each day. Each truck has a limit of W on the maximum amount or weight it is allowed to carry. Boxes arrive at the New York depot one at a time and each package has a weight of wi. The depot is small and only one truck can be loaded at a time. Company policy is that boxes must be shipped in the order they arrive, since customers might get upset if they saw a box that arrived later get to Boston earlier than one they sent earlier. Thus, the company uses a simple greedy algorithm for packing the boxes onto a truck. Pack the boxes in the order in which they arrive and once a box does not fit then send the truck on its way. The company asks you to determine if they can do better. E. g., perhaps they could reduce the number of trucks needed by sometimes sending off a truck that is less full but could allow later trucks to be better packed. A. Prove company's algorithm always ships the packages in the fewest trucks. B. Analyze the algorithm's complexity.

ansver
Answers: 3

Another question on Engineering

question
Engineering, 04.07.2019 16:10
The force on a cutting tool are 2600n vertically downward and 2100 horizontal. determine the resultant force acting on the tool and the angle at which it acts.
Answers: 1
question
Engineering, 04.07.2019 18:10
Burgers vector is generally parallel to the dislocation line. a)-true b)-false
Answers: 2
question
Engineering, 04.07.2019 18:10
The flow rate of air through a through a pipe is 0.02 m5/s. a pitot static tube is placed in the flow. the radius of the pitot static tube is 1 mm. assuming the flow to be steady and the air to be at 300k, calculate the difference in total and static pressure if the diameter of the pipe is: (a) d 0.1 m d 0.05 m (c) d 0.01 m
Answers: 2
question
Engineering, 04.07.2019 18:20
Have a greater impact on maintenance productivity than any other support group. (clo5) a)-the top management b)-inventory and purchasing c)-sub-contracting d)-cmms
Answers: 2
You know the right answer?
Shipping Efficiently: A trucking company is responsible for shipping a large number of boxes that re...
Questions
question
Mathematics, 19.02.2022 17:30
question
Mathematics, 19.02.2022 17:30
question
Biology, 19.02.2022 17:40
question
Mathematics, 19.02.2022 17:40
Questions on the website: 13722367