How to avoid using linear programming to solve this investment problem?
2 views (last 30 days)
Show older comments
Hello, everyone. I have an investment question. The questions are as follows.
Now you have a certain amount of initial cash in your hand and need to expand its amount by investing. The bank you invest in offers several different levels of investment packages for you to choose from, but you will need to comply with the following rules set by the bank when buying and selling:
(1) The purchase and sale of each package is carried out according to the whole package, that is, the package you trade each time can only be the whole share;
(2) There is no limit to the number of copies purchased for each package, but there is a limit to the total number of copies purchased for all packages;
(3) The price of the package is the same as when it is bought;
(4) The sale and purchase of packages is concentrated on the first and last day of each month;
(5) The package purchased will generate a fixed profit in the middle of the month;
(6) You can only purchase the next level of package when you hold at least one package of the previous level, and the purchase of the first level package is not restricted;
Now from January 1 of the first year to December 31 of the 10th year, you need to invest with an initial cash of 30,000 yuan to find an optimal investment solution to maximize your final return.
Supplement: As the level continues to rise, the transaction price of a single package continues to rise, as does the fixed profit generated each month.
I know that linear programming can certainly solve this problem, but when the time becomes longer, the complexity of the problem increases greatly. Is there a way to solve this problem without linear programming?
The level of the package, the corresponding price (unit: USD 10000) and the monthly profit (unit: USD) are shown in the figure below.
6 Comments
Abolfazl Chaman Motlagh
on 1 Mar 2022
By linear programming you mean THE "linear programming" means the algorithm for linear cost function and linear constraints. or you mean the "Simplex" method? because for example you can solve the linear problem with interior points algorithm and it is more efficient in large number of parameters and variables than simplex.
Matt J
on 1 Mar 2022
Due to personal equipment reasons, I am not particularly inclined to use linear programming to solve this problem.
What equipment do you have, so that we know how to target our advice?
Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!