You are working in a reputable investment firm. Having money from many investors all over the...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
You are working in a reputable investment firm. Having money from many investors all over the world, they would like to invest them in deals and assets that maximize their profit. They managed to collect a database of promising deals from all over the world, in which they can invest; then, their analysis team managed to accurately estimate the expected profit for each deal, so that each deal, D₁, has now the expected profit, Pi, and the required investment value to invest in such deal, Vi-that is if they paid Vi, it is expected to have a profit of P₁. Currently, they have decided to invest with a maximum budget B. Therefore, they want to make sure they gain the maximum possible profit. The problem is that database is quite huge with many deals, that no human can decide which deals to invest in to maximize the profit, and what that maximum profit is. Knowing you are studying Algorithms course, they needed your help. a) Design a recursive algorithm that takes as input list of tuples of (Vi, Pi) and maximum budget, B, and outputs the maximum possible profit [7 Points] Example, if we got the array of the below table, your algorithm should output 20; this happens by investing in deals 1&4 b) Empirically, show the performance curve of the algorithm using time measurements [3 Points] c) Adjust your algorithm to return a list of deal indices that achieve that maximum profit, while adjusting it to minimize the invested budget as well. Therefore, if there were many set of deals achieving the maximum profit, the algorithm favors the one with the least investment value. [2 Bonus Points] B = 10 Deal Number Investment Value (V₁) | Expected Profit (P₁) 0 1 2 3 4 5 6 2 5 3 8 5 2 2 Max Total Expected Profit: 20 1 10 7 13 10 1 1 You are working in a reputable investment firm. Having money from many investors all over the world, they would like to invest them in deals and assets that maximize their profit. They managed to collect a database of promising deals from all over the world, in which they can invest; then, their analysis team managed to accurately estimate the expected profit for each deal, so that each deal, D₁, has now the expected profit, Pi, and the required investment value to invest in such deal, Vi-that is if they paid Vi, it is expected to have a profit of P₁. Currently, they have decided to invest with a maximum budget B. Therefore, they want to make sure they gain the maximum possible profit. The problem is that database is quite huge with many deals, that no human can decide which deals to invest in to maximize the profit, and what that maximum profit is. Knowing you are studying Algorithms course, they needed your help. a) Design a recursive algorithm that takes as input list of tuples of (Vi, Pi) and maximum budget, B, and outputs the maximum possible profit [7 Points] Example, if we got the array of the below table, your algorithm should output 20; this happens by investing in deals 1&4 b) Empirically, show the performance curve of the algorithm using time measurements [3 Points] c) Adjust your algorithm to return a list of deal indices that achieve that maximum profit, while adjusting it to minimize the invested budget as well. Therefore, if there were many set of deals achieving the maximum profit, the algorithm favors the one with the least investment value. [2 Bonus Points] B = 10 Deal Number Investment Value (V₁) | Expected Profit (P₁) 0 1 2 3 4 5 6 2 5 3 8 5 2 2 Max Total Expected Profit: 20 1 10 7 13 10 1 1
Expert Answer:
Answer rating: 100% (QA)
a Design a recursive algorithm that takes as input list of tuples of Vi P and maximum budget B and outputs the maximum possible profit 7 Points Example if we got the array of the below table your algo... View the full answer
Related Book For
Accounting for Decision Making and Control
ISBN: 978-0078025747
8th edition
Authors: Jerold Zimmerman
Posted Date:
Students also viewed these accounting questions
-
In recent years, governments all over the world have passed laws that increased the penalties for executives crimes. Do you think this will deter unethical corporate managers? Explain.
-
Currently you have $50,000 that you would like to invest for 2 years and are considering buying a government security maturing in 1 year that pays 3% annually. If you do this, you will also have to...
-
A 60 years old man would like to invest his retirement account funds in different investment opportunities such that after 15 years when he withdraws the funds, he gets maximum profit. Assume that he...
-
Prepare a set of profile leveling notes for the data listed and show the page check. All data is given in feet. The elevation of BM A is 1364.58, and the elevation of BM B is 1349.26. Rod readings...
-
What strategic goal can an IS attain that does not involve wresting market share from competitors? Provide some business examples.
-
Settlers of Catan Co is authorized to issue an unlimited number of common shares and 10,000 preferred shares. During its first year, the business completed the following share issuance transactions:...
-
Linear acceleration method a. Assumes that acceleration varies linearly between \(t_{i}\) and \(t_{i}+\theta \Delta t ; \theta \geq 1\) b. Assumes that acceleration varies linearly between \(t_{i}\)...
-
Given the data in Problem 7, determine the first activities to be crashed by the following priority rules: (a) Shortest task first. (b) Most resources first (use normal cost as the basis). (c)...
-
Explain the steps involved in a feasibility and market analysis for a proposed shopping center. Explain in detail.
-
AD Enterprise was established in June 2023. During the first month of the operation of the business, these events and transactions occurred: June 1 Mr. AD invested $100,000 cash in exchange into the...
-
Despite our best efforts, sometimes people are injured at work. When these unfortunate accidents occur, an investigation is required to examine the causes of the event so that it can be avoided in...
-
Sheree Demminga real estate investor in the business of acquiring properties in the Bloomington, Indiana area for remodeling, renovation, leasing, and saleengaged Cheryl Underwoods professional...
-
Berger was planning to produce a fashion show in Las Vegas. In April, Berger entered into a written licensing agreement with CBS Films, Inc., a wholly owned subsidiary of CBS, for presentation of the...
-
Almega Corporation, organized under the laws of State S, has outstanding twenty thousand shares of \($100\) par value nonvoting preferred stock calling for noncumulative dividends of \($5.00\) per...
-
Paul Bunyan is the owner of noncumulative 8 percent preferred stock in the Broadview Corporation, which had no earnings or profits in 2014. In 2015, the corporation had large profits and a surplus...
-
Raymond Zukaitis was a physician practicing medicine in Douglas County, Nebraska. Aetna issued a policy of professional liability insurance to Zukaitis through its agent, the Ed Larsen Insurance...
-
Compute the fair value of the following three stocks. Assume cost of equity to be 10% Stock A is expected to pay a uniform dividend of Rs. 3.50 per share forever. Stock B is expected to pay a...
-
According during to the IRS, individuals filing federal income tax returns prior to March 31 received an average refund of $1,088 in 2018. Consider the population of "last-minute" filers who mail...
-
Jasper, Inc., is considering two mutually exclusive investments. Alternative A has a current outlay of $ 300,000 and returns $ 100,300 a year for five years. Alternative B has a current outlay of $...
-
GAMMA produces over a hundred different types of residential water faucets at its Delta, Florida, plant. This plant uses activity- based costing to calculate product costs. The following table...
-
You work on a team that reports to the chief financial officer of Fiedler International, a consumer products company that manages a variety of consumer beauty brands ( shampoos, facial soaps,...
-
List the six IT business objectives.
-
How is IT contributing to the success of the on-demand and shared economies?
-
Name four disruptive business models and describe what they offer to their customers.
Study smarter with the SolutionInn App