Solver for portfolio optimization issue

BlueElement

New Member
Joined
Aug 17, 2015
Messages
5
Hi there, I am trying to use Solver for portfolio optimization. I'm using 9 stocks and Solver runs fine when I try to optimize for the lowest monthly draw-down using all 9 stocks (it gives a weight to each stock from -1 to 1. Where I run into an issue is if I add a constraint that requires that 6 of the 9 have weights of 0, aka I want to find the best 3 stocks to use, but no more than this. I'm trying to use Solver to come up with the best hedges but I don't want to use all 9 stocks. This isn't a constraint issue as I can manually enter some weights and run it tells me that:

I am using the GRG Nonlinear Method and receive the result "Solver converged in probability to a global solution". If I use the Evolutionary method I receive a similar result : "Solver cannot improve the current solution. All Constraints are satisfied."

Yet I can easily change the weights manually and find a better solution. So Solver isn't really helping in this instance. Has anyone had a similar problem? Any ideas on how to fix?
 

Excel Facts

What is the fastest way to copy a formula?
If A2:A50000 contain data. Enter a formula in B2. Select B2. Double-click the Fill Handle and Excel will shoot the formula down to B50000.

Forum statistics

Threads
1,223,214
Messages
6,170,771
Members
452,353
Latest member
strainu

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top