Answered step by step
Verified Expert Solution
Question
1 Approved Answer
For this dynamic programming problem and the next one, be sure to (a) define and describe the subproblem; (b) write the recurrence relation for the
For this dynamic programming problem and the next one, be sure to (a) define and describe the subproblem; (b) write the recurrence relation for the subproblem, including the base case(s); (e) write pseudo codes showing how a table for the subproblems is filled (i.e., by the bottom up" approach). A mission-critical production system has n stages that have to be performed sequentially; stage i is performed by machine M;. Each machine M; has a probability Ti of functioning reliably and a probability 1 - Ti of failing (and the failures are independent). Therefore, if we implement cach stage with a single machine, the probability that the whole system works is r.12.-In. To improve this probability we add redundancy by having m; copies of the machine M that performs stage i. The probability that all mi copies fail simultaneously is only (1 - r;)", so the probability that stage i is completed correctly is 1-(1-r)" and the probability that the whole system works is l_ [1 (1 r;);). Each machine M; has a cost C, and there is a total budget B to buy machines. (Assume that B and the Gi are positive integers.) Given the probabilities r1, 72, ..., In, the costs C1,C2, ..., Cr, and the budget B, find the maximum reliability that can be achieved within budget B. (10 points) For this dynamic programming problem and the next one, be sure to (a) define and describe the subproblem; (b) write the recurrence relation for the subproblem, including the base case(s); (e) write pseudo codes showing how a table for the subproblems is filled (i.e., by the bottom up" approach). A mission-critical production system has n stages that have to be performed sequentially; stage i is performed by machine M;. Each machine M; has a probability Ti of functioning reliably and a probability 1 - Ti of failing (and the failures are independent). Therefore, if we implement cach stage with a single machine, the probability that the whole system works is r.12.-In. To improve this probability we add redundancy by having m; copies of the machine M that performs stage i. The probability that all mi copies fail simultaneously is only (1 - r;)", so the probability that stage i is completed correctly is 1-(1-r)" and the probability that the whole system works is l_ [1 (1 r;);). Each machine M; has a cost C, and there is a total budget B to buy machines. (Assume that B and the Gi are positive integers.) Given the probabilities r1, 72, ..., In, the costs C1,C2, ..., Cr, and the budget B, find the maximum reliability that can be achieved within budget B. (10 points)
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started