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, 21.06.2019 21:00
You should hand write your references on your resume.
Answers: 1
question
Computers and Technology, 22.06.2019 23:00
Suppose s, t, and w are strings that have already been created inside main. write a statement or statements, to be added to main, that will determine if the lengths of the three strings are in order by length, smallest to largest. that is, your code should determine if s is strictly shorter than t, and if t is strictly shorter than w. if these conditions hold your code should print (the boolean value) true. if not, your code should print false. (strictly means: no ties) example: if s, t, and w are "cat", "hats", and "skies" your code should print true - their lengths are 3-4-5; but if s, t, and w are "cats" "shirt", and "trust", then print false - their lengths are 4-5-5 enter your code in the box below
Answers: 2
question
Computers and Technology, 23.06.2019 07:30
What part of the interface displays the external references contained in a selected cell? the status bar the review tab the scroll bar the formula bar
Answers: 1
question
Computers and Technology, 23.06.2019 23:30
Perform an online search about the booting process of a computer and list all the steps
Answers: 2
You know the right answer?
Suppose you’re consulting for a company that manufactures pc equipment and ships it to distributors...
Questions
question
Arts, 27.09.2019 17:30
question
Biology, 27.09.2019 17:30
question
Mathematics, 27.09.2019 17:30