subject

Your knowledge of algorithms you obtain an exciting job with the acme computer company, along with a $10,000 signing bonus. you decide to invest this money with the goal of maximizing your return at the end of 10 years. you decide to use the amalgamated investment company to manage your investments. amalgamated investments requires you to observe the following rules. it offers n different investments, numbered 1 through n. in each year j , investment i provides a return rate of rij. in other words, if you invest d dollars in investment i in year j, then at the end of year j, you have drij dollars. the return rates are guaranteed, that is, you are given all the return rates for the next 10 years for each investment. you make investment decisions only once per year. at the end of each year, you can leave the money made in the previous year in the same investments, or you can shift money to other investments, by either shifting money between existing investments or moving money to a new investment. if you do not move your money between two consecutive years, you pay a fee of f1 dollars, whereas if you switch your money, you pay a fee of f2 dollars, where f2> f1.
a. the problem, as stated, allows you to invest your money in multiple investments in each year. prove that there exists an optimal investment strategy that, in each year, puts all the money into a single investment. (recall that an optimal investment strategy maximizes the amount of money after 10 years and is not concerned with any other objectives, such as minimizing risk.)
b. prove that the problem of planning your optimal investment strategy exhibits optimal substructure.
c. design an algorithm that plans your optimal investment strategy. what is the running time of your algorithm?
d. suppose that amalgamated investments imposed the additional restriction that, at any point, you can have no more than $15,000 in any one investment. show that the problem of maximizing your income at the end of 10 years no longer exhibits optimal substructure

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 03:20
Which of these is a benefit of social networking? oa. hiding your true identity from friendsob. avoiding talking to people in personoc. spending time with friends instead of studyingod. connecting with new people
Answers: 2
question
Computers and Technology, 23.06.2019 03:00
Jason, samantha, ravi, sheila, and ankit are preparing for an upcoming marathon. each day of the week, they run a certain number of miles and write them into a notebook. at the end of the week, they would like to know the number of miles run each day, the total miles for the week, and average miles run each day. write a program to them analyze their data. your program must contain parallel arrays: an array to store the names of the runners and a two-dimensional array of five rows and seven columns to store the number of miles run by each runner each day. furthermore, your program must contain at least the following functions: a function to read and store the runners’ names and the numbers of miles run each day; a function to find the total miles run by each runner and the average number of miles run each day; and a function to output the results. (you may assume that the input data is stored in a file and each line of data is in the following form: runnername milesday1 milesday2 milesday3 milesday4 milesday5 milesday6 milesday7.)
Answers: 3
question
Computers and Technology, 23.06.2019 16:30
You have read about the beginnings of the internet and how it was created. what was the internet originally created to do? (select all that apply) share research. play games. communicate. share documents. sell toys
Answers: 1
question
Computers and Technology, 23.06.2019 22:00
Jackson, who works in the finance department of a company, is holding a seminar for other employees on how to file taxes. only three employees sign up to attend the seminar. which device can he use to share his presentation with a group of three employees?
Answers: 1
You know the right answer?
Your knowledge of algorithms you obtain an exciting job with the acme computer company, along with...
Questions
question
Mathematics, 28.04.2021 04:40
question
English, 28.04.2021 04:40
question
Physics, 28.04.2021 04:40
question
Mathematics, 28.04.2021 04:40
question
Mathematics, 28.04.2021 04:40
question
Mathematics, 28.04.2021 04:40
question
Mathematics, 28.04.2021 04:40
question
Mathematics, 28.04.2021 04:40