Create ef?cient algorithm to fnd redundancies

Assignment Help Data Structure & Algorithms
Reference no: EM1367037

A mission-critical production system has n stages that have to be performed sequentially; stage i is performed by machine Mi.
Each machine Mi has a probability ri of functioning reliably and a probability (1 - ri) of failing (and the failures are independent). Therefore, if we implement each stage with the single machine, the probability that the whole system works is r1 × r2 × · · · × rn. To improve this probability we add redundancy, by having mi copies of the machine Mi so that stage i can be performed by mi independent copies. Each machine has a nonnegative cost ci, and there is a total budget B to buy machines.
Given the probabilities r1, · · · , rn, the costs c1, · · · , cn, and the budget B, ?nd the redundancies m1, · · · , mn that are within the available budget and that maximize the probability that the system works correctly. Devise an ef?cient algorithm.
You can assume the costs ci and the budget B are integers.

Reference no: EM1367037

Questions Cloud

Educator and fresh grad socialization : Role socialization is imperative to the success for a new grad and also a new educator.
Create class for factory workers are paid certain amount : Create class for Factory workers are paid a certain amount for each unit they make and their total pay is the number of units produced times the pay per unit.
Determining two variables of price : The demand for new homes in the United States is often described as highly cyclical and very sensitive to housing prices and interest rates.
Healthcare professionals and customer satisfaction : How can healthcare professionals use customer satisfaction data to strengthen their position in the organization?
Create ef?cient algorithm to fnd redundancies : Fnd the redundancies m1, · · · , mn that are within the available budget and that maximize probability that system works correctly. Create an ef?cient algorithm.
Increasing equilibrium quantity : Do you agree that the only way to raise equilibrium quantity is to raise supply and demand together? Why agree or why not agree?
Making decision based on balance sheet : The proprietors of two businesses, L.L. Sams Corporation and Melinda Garcia Career Services, have sought business loans from you. To decide whether to make loans you have requested their balance sheets.
Elements of a quantitative research report : Describe three elements of a quantitative research report which you perceive as the most important when reviewing this kind of research report.
Function to swap all the left-right subtrees of binary tree : Write a function, swapSubTrees, that swaps all of the left and right subtrees of a binary tree. write a method singleParent, that returns the number of nodes in a binary tree that have only one child.

Reviews

Write a Review

Data Structure & Algorithms Questions & Answers

  Implement an open hash table

In this programming assignment you will implement an open hash table and compare the performance of four hash functions using various prime table sizes.

  Determining hash value of modified file

Determine hash value of modified file look like, as compared with original hash value?

  Graph in which every node is pivotal for at least two nodes

Give an example of a graph in which every node is pivotal for at least two di fferent pairs of nodes. Explain your answer.

  Explaining augmented red-black tree

Consider T be augmented red-black tree, where each node x has attribute x.size, which is number of internal nodes in subtree rooted at x. Given such augmented red-black tree T.

  Design algorithm to receive two integer items from terminal

Design an algorithm that will receive two integer items from a terminal operator, and display to the screen their sum, difference, product and quotient.

  Explain algorithm which gives initial infection of computer

Explain an O(m+n) algorithm which, given an initial infection of a computer Ca at time t determines for each other computer the earliest time at which it can become infected.

  Identify data structures to organize typical file cabinet

Identify at least two data structures that are used to organize a typical file cabinet. Why do you feel it is necessary to emulate these types of data structures in a computer program?

  Describe sorting algorithm to be parsimonious

Describe a sorting algorithm to be parsimonious if it never compares same pair of input values twice. (Supose that all the values being sorted are distinct.).

  Write recursive version of array-based linear search

Write an algorithm but not code. Write a recursive version of the array-based linear search algorithm. Write a recursive version of the linked-list-based linear search algorithm."""

  Computing minimal length of key-average cracking time given

If Encrypt-It-Rite would like to increase average cracking time to at least 100 years, determine the minimal length of the key?

  Design algorithm to find the average miles per gallon

Design an algorithm to find the average miles per gallon. Sample data: 68723, 71289, 15.75, 16.30, 10.95, 20.65, 30.00.

  Algorithm to read arbitrary number of data records

Write the algorithm to read arbitrary number of data records, each comprising name, age, and code.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd