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 01:00
How can a broadcast station be received through cable and satellite systems?
Answers: 1
question
Computers and Technology, 22.06.2019 09:40
Sarah is having a hard time finding a template for her advertising business that she may be able to use at a later date and also make it available to her colleagues
Answers: 1
question
Computers and Technology, 23.06.2019 07:30
Write a program that inserts the digits of an integer into an array in originalorderfollowed by reverse order. first, promptthe user to enter a positive integer(> 0). determine the number of digits of the integer. create a dynamically allocated integer arrayof a size twice the number of digits.now insert the digits in original order which will occupy half of the array. then, insert the digits in reverse order.finally, output thedigits in thearray.use at least two functions to organize your program.
Answers: 3
question
Computers and Technology, 23.06.2019 14:00
Select the correct answer. andre was recently hired by an organization to check for system vulnerabilities. he is supposed to exploit these vulnerabilities and create a report on the extent of damage to which the system was susceptible. what position does andre hold in this organization? a. information security analyst b. information assurance manager c. penetration tester d. network security engineer e. chief information security officer
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
Biology, 19.11.2020 17:50
question
Mathematics, 19.11.2020 17:50
question
Mathematics, 19.11.2020 17:50
Questions on the website: 13722363