subject

Suppose you’re consulting for a company that manufactures pc equipment and ships it to distributors all over the country. for each of the next n weeks, they have a projected supply si of equipment (measured in pounds), which has to be shipped by an air freight carrier. each week’s supply can be carried by one of two air freight companies: a or b. company a charges a fixed rate r per pound (so it costs r*si to ship a week’s supply si . company b makes contracts for a fixed amount c per week, independent of the weight. however, contracts with company b must be made in blocks of four consecutive weeks at a time. a schedule, for the pc company, is a choice of air freight company (a or b) for each of the n weeks, with the restriction that company b, whenever it is chosen, must be chosen for blocks of four contiguous weeks at a time. the cost of a schedule is the total amount paid to company a and b. example. suppose r=1, c=10, and the sequence of values is: 11,9,9,12,12,12,12,9,9,11. then the optimal schedule would be to choose company a for first three weeks, then company b for a block of four consecutive weeks, and then company a for the final three weeks. for this problem, you are asked to (1) write the iterative algorithm to find the minimum cost for shipping the equipment for next n weeks. (2) write the algorithm to find the optimal schedule.

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 04:40
Amain idea is supported, explained, or expanded on with a numbers b. a concluding statement c. details d. a topic sentence. im e paragraphs reset nex next
Answers: 2
question
Computers and Technology, 22.06.2019 18:10
Assume that to_the_power_of is a function that expects two int parameters and returns the value of the first parameter raised to the power of the second parameter. write a statement that calls to_the_power_of to compute the value of cube_side raised to the power of 3 and that associates this value with cube_volume.
Answers: 1
question
Computers and Technology, 22.06.2019 18:30
Kto rozmawia z clamentain przez krótkofalówke w the walking dead która śledzi lee w 4 epizodzie
Answers: 1
question
Computers and Technology, 22.06.2019 21:30
Write a function named printfloatrepresentation(float number) that will print the floating point representation of a number using the format given below. (sign bit) exponent in binary (assumed bit).significandfor example if the number passed an argument is 71 yourprogram should print (0) 10000101 (1).00011100000000000000000similarly if the number passed to the function as argument is -71 the program should print (1) 10000101 (1).00011100000000000000000
Answers: 3
You know the right answer?
Suppose you’re consulting for a company that manufactures pc equipment and ships it to distributors...
Questions
question
English, 24.06.2020 21:01
question
Mathematics, 24.06.2020 21:01
question
History, 24.06.2020 21:01
question
Mathematics, 24.06.2020 21:01
question
Computers and Technology, 24.06.2020 21:01
Questions on the website: 13722362