Operations Research : Applications and Algorithms
4th Edition
ISBN: 9780534380588
Author: Wayne L. Winston
Publisher: Brooks Cole
expand_more
expand_more
format_list_bulleted
Concept explainers
Question
error_outline
This textbook solution is under construction.
Students have asked these similar questions
Recall Pigou’s example discussed in class, where there are two roads that connect a source, s, and destination, t. The roads have different travel costs. Fraction x1 of the traffic flow on route 1, and the remainder x2 on route 2. Here consider the following scenario. • The first road has “infinite” capacity but is slow and requires 1 hour travel time, T1 = 1. • The second road always requires at least 15 mins, which then increases as a function of traffic density, T2 = 0.25 + 0.75x2. If drivers act in a “selfish” manner – the user optimal scenario – all the traffic will flow on the second path, as one is never worse off. Worst case scenario for path 2, both paths take one hour. So no one is incentivized to change their behavior. 1. Assume user optimal behavior, and calculate τ the expected travel time per car. 2. If instead we could control the flows, we could minimize the expected travel time. Using the expression in part (a), calculate the optimal allocation of flows x¯1 and ¯x2…
Pretend you have five employees who would like to know exactly how much their bi-weekly pay will be once all of their deductions are taken off. Their weekly pay is as follows: Emp #1. $1100 Emp #2. $1300 Emp #3. $1500 Emp #4. $1700 Emp #5. $2300
*Taxation *
A local café has a single cash register, with a single assistant to work it, and three serversworking to fill the customer orders. Customers arrive with exponential interarrivaltime an average of one every 2 minutes. The time to place their order and pay at theregister is normally distributed with mean 90 seconds and standard deviation 20 seconds.Each customer’s order is then passed to one of the servers who take on average5 minutes with standard deviation 1.5 minutes, also normally distributed, to fill the order.a. Calculate the capacity of the register and the servers. What is the bottleneck inthis system?b. Calculate the average utilizations of the register and the serversc. What is the probability a customer is delayed at the register?d. What is the expected time from a customer’s arrival to the order being passed on tothe servers (including any queueing time)?e. Estimate the probability that there is a delay between a customer placing his orderand a server beginning to work on the…
Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.Similar questions
- Solve in R programming language: Suppose that the number of years that a used car will run before a major breakdown is exponentially distributed with an average of 0.25 major breakdowns per year. (a) If you buy a used car today, what is the probability that it will not have experienced a major breakdown after 4 years. (b) How long must a used car run before a major breakdown if it is in the top 25% of used cars with respect to breakdown time.arrow_forward(b) To compare two kids of bumper guards, 6 of each kid were mounted on a car and then the car was run into A concrete wall. The following are the cost of repairs. Guard 1 107 148 123 165 102 119 Guard 2 134 115 112 151 133 129arrow_forwardBruno gives his son P100 on one day, P50 on the second day, P25 on third day and so on. What will be total amount given by Ram to his son starting from the first day, if he lives forever?arrow_forward
- A local café has a single cash register, with a single assistant to work it, and three servers working to fill the customer orders. Customers arrive with exponential interarrivaltime an average of one every 2 minutes. The time to place their order and pay at theregister is normally distributed with mean 90 seconds and standard deviation 20 seconds. Each customer’s order is then passed to one of the servers who take on average5 minutes with standard deviation 1.5 minutes, also normally distributed, to fill the order.g. Estimate the expected time from the servers receiving an order to it being ready forthe customer (including any queueing time).arrow_forwardComputer Science Consider the demand and supply system p = ad +bdqd +ud p = as +bsqs +us with the equilibrium condition qd = qs = q. The parameters bd and bs are −2 and 1.5, respectively. Find the parameters ad and as are such that q = 5 and p = 10. Throughout this question use N = 100, and set the random seed to 14022022. The variable ud has a standard deviation of 3. All randomly generated variables have a mean of zero and are normally distributed unless something else is specified. All Monte Carlo studies should be done with 10,000 repetitions. Part a. Illustrate the supply and demand curves in a graph, together with a sample of simulated price and quantity data. Provide an additional graph where you have included the OLS estimated line of demand equation above. Are your estimates close to the true values of ad and bd ? Solve the question in Python language on Jupyter notebook.arrow_forwardThis problem exercises the basic concepts of game playing, using tic-tac-toe (noughtsand crosses) as an example. We define Xn as the number of rows, columns, or diagonals with exactly n X’s and no O’s. Similarly, On is the number of rows, columns, or diagonals with just n O’s. The utility function assigns +1 to any position with X3 = 1 and −1 to any position with O3 = 1. All other terminal positions have utility 0. For nonterminal positions, we use a linear evaluation function defined as Eval (s) = 3X2(s)+X1(s)−(3O2(s)+O1(s))."Mark on your tree the evaluations of all the positions at depth 2."arrow_forward
- a. Given n items, where each item has a weight and a value, and a knapsack that can carry at most W You are expected to fill in the knapsack with a subset of items in order to maximize the total value without exceeding the weight limit. For instance, if n = 6 and items = {(A, 10, 40), (B, 50, 30), (C, 40, 80), (D, 20, 60), (E, 40, 10), (F, 10, 60)} where each entry is represented as (itemIdi, weighti, valuei). Use greedy algorithm to solve the fractional knapsack problem. b. Given an array of n numbers, write a java or python program to find the k largest numbers using a comparison-based algorithm. We are not interested in the relative order of the k numbers and assuming that (i) k is a small constant (e.g., k = 5) independent of n, and (ii) k is a constant fraction of n (e.g., k = n/4). Provide the Big-Oh characterization of your algorithm.arrow_forwardConsider the problem of making change for n cents using the fewest number of coins. Assume that we live in a country where coins come in k dierent denominations c1, c2, . . . , ck, such that the coin values are positive integers, k ≥ 1, and c1 = 1, i.e., there are pennies, so there is a solution for every value of n. For example, in case of the US coins, k = 4, c1 = 1, c2 = 5, c3 = 10, c4 = 25, i.e., there are pennies, nickels, dimes, and quarters. To give optimal change in the US for n cents, it is sufficient to pick as many quarters as possible, then as many dimes as possible, then as many nickels as possible, and nally give the rest in pennies. Design a bottom-up (non-recursive) O(nk)-time algorithm that makes change for any set of k different coin denominations. Write down the pseudocode and analyze its running time. Argue why your choice of the array and the order in which you fill in the values is the correct one. Notice how it is a lot easier to analyze the running time of…arrow_forwardConsider the problem of making change for n cents using the fewest number of coins. Assume that we live in a country where coins come in k dierent denominations c1, c2, . . . , ck, such that the coin values are positive integers, k ≥ 1, and c1 = 1, i.e., there are pennies, so there is a solution for every value of n. For example, in case of the US coins, k = 4, c1 = 1, c2 = 5, c3 = 10, c4 = 25, i.e., there are pennies, nickels, dimes, and quarters. To give optimal change in the US for n cents, it is sufficient to pick as many quarters as possible, then as many dimes as possible, then as many nickels as possible, and nally give the rest in pennies. Design a bottom-up (non-recursive) O(nk)-time algorithm that makes change for any set of k different coin denominations. Write down the pseudocode and analyze its running time. Argue why your choice of the array and the order in which you ll in the values is the correct one.arrow_forward
- Consider the problem of making change for n cents using the fewest number of coins. Assume that we live in a country where coins come in k dierent denominations c1, c2, . . . , ck, such that the coin values are positive integers, k ≥ 1, and c1 = 1, i.e., there are pennies, so there is a solution for every value of n. For example, in case of the US coins, k = 4, c1 = 1, c2 = 5, c3 = 10, c4 = 25, i.e., there are pennies, nickels, dimes, and quarters. To give optimal change in the US for n cents, it is sufficient to pick as many quarters as possible, then as many dimes as possible, then as many nickels as possible, and nally give the rest in pennies. Prove that the coin changing problem exhibits optimal substructure. Design a recursive backtracking (brute-force) algorithm that returns the minimum number of coins needed to make change for n cents for any set of k different coin denominations. Write down the pseudocode and prove that your algorithm is correct.arrow_forwardThree prisoners have been sentenced to long terms in prison, but due to over crowed conditions, one prisoner must be released. The warden devises a scheme to determine which prisoner is to be released. He tells the prisoners that he will blindfold them and then paint a red dot or blue dot on each forehead. After he paints the dots, he will remove the blindfolds, and a prisoner should raise his hand if he sees at least one red dot on the other two prisoners. The first prisoner to identify the color of the dot on his own forehead will be release. Of course, the prisoners agree to this. (What do they have to lose?) The warden blindfolds the prisoners, as promised, and then paints a red dot on the foreheads of all three prisoners. He removes the blindfolds and, since each prisoner sees a red dot (in fact two red dots), each prisoner raises his hand. Some time passes when one of the prisoners exclaims, "I know what color my dot is! It's red!" This prisoner is then released. Your problem…arrow_forwardA local café has a single cash register, with a single assistant to work it, and three servers working to fill the customer orders. Customers arrive with exponential interarrival time an average of one every 2 minutes. The time to place their order and pay at the register is normally distributed with mean 90 seconds and standard deviation 20 seconds. Each customer’s order is then passed to one of the servers who take on average 5 minutes with standard deviation 1.5 minutes, also normally distributed, to fill the order. a.) Calculate the capacity of the register and the servers. What is the bottleneck in this system? b.) Calculate the average utilizations of the register and the servers c.) What is the probability a customer is delayed at the register? d.) What is the expected time from a customer’s arrival to the order being passed on to the servers (including any queueing time)? e.) Estimate the probability that there is a delay between a customer placing his order and a server…arrow_forward
arrow_back_ios
SEE MORE QUESTIONS
arrow_forward_ios
Recommended textbooks for you
- Operations Research : Applications and AlgorithmsComputer ScienceISBN:9780534380588Author:Wayne L. WinstonPublisher:Brooks Cole
Operations Research : Applications and Algorithms
Computer Science
ISBN:9780534380588
Author:Wayne L. Winston
Publisher:Brooks Cole