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

Other questions on the subject: Engineering

image
Engineering, 04.07.2019 18:10, selenamr
Ifa component is made of two or more materials with different modulus of elasticity (e), it is called a composite member and we calculate the factor·n". mention the formula for calculating n". also, ifn> 1, explain what will happen to the 1. transformed. gi) ifn 1, what will happen to the material when transformed material when
Answers: 1
image
Engineering, 04.07.2019 18:20, rhussein6452
Wiy doeres rere okhn a pump whon working betwon the same pressure range?
Answers: 2
image
Engineering, 04.07.2019 19:10, jimena15
10 kg of co2 is initially contained at 400 kpa and 300 k. the gas constant for carbon dioxide is 189 j/lkg k) and has a specific heat ratio, k, of 1.289. isentropic expansion then occurs until the pressure is 200 kpa. a) determine the initial volume of co2 in m. b) determine the final temperature in k. c) determine the work done by the system during the expansion kl.
Answers: 2
image
Engineering, 04.07.2019 19:10, rayne40
A)-in the process of engineering design, explain the contribution of material selection. b)- explain the procedure of synthesis as is employed in engineering design. c)- is there any relationship between ergonomics and engineering design? explain. d)- safety consideration in engineering design includes human, product and the enviroment . explain how safety will be incorporated into the design?
Answers: 3
You know the right answer?
Shipping Efficiently: A trucking company is responsible for shipping a large number of boxes that re...

Questions in other subjects:

Konu
Physics, 11.11.2020 06:00
Konu
English, 11.11.2020 06:00
Konu
Business, 11.11.2020 06:00
Konu
Mathematics, 11.11.2020 06:00