Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I try to calculate the minimun variance portfolio from a varians-
covariance matrix. The problem is that the target cell has changed value a couple of times when I made small changes and then changed back so now I can't know which one is correct, how could this be? I use this formula: =MMULT(TRANSPOSE(DH2:DH26);MMULT(CE2:DC26;DH2:DH26 )) DH2:DH26 = stock weights (which are being changed by Solver to minimize target cell) CE2:DC26 = variance-covariance matrix Thanks! |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi. I am not sure of the question, but guessing from the size of the
problem, you may be running into Local Minimum values, and not Global values. Just guessing of course. =MMULT(TRANSPOSE(DH2:DH26);MMULT(CE2:DC26;DH2:DH26 )) If I am not mistaken, this non-array entered formula should return the same thing... =SUMPRODUCT(DH2:DH26,MMULT(CE2:DC26,DH2:DH26)) = = = HTH :) Dana DeLouis wrote: I try to calculate the minimun variance portfolio from a varians- covariance matrix. The problem is that the target cell has changed value a couple of times when I made small changes and then changed back so now I can't know which one is correct, how could this be? I use this formula: =MMULT(TRANSPOSE(DH2:DH26);MMULT(CE2:DC26;DH2:DH26 )) DH2:DH26 = stock weights (which are being changed by Solver to minimize target cell) CE2:DC26 = variance-covariance matrix Thanks! |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Problem in changing formula-generated values in the chart in Micro | New Users to Excel | |||
Can I use solver to estimate several values by changing several c. | Excel Worksheet Functions | |||
Using solver in vba to max value by changing weights? Help??? | Excel Programming | |||
Changing cells in solver. | Excel Worksheet Functions | |||
Interesting Solver problem (Solver encounters an error) | Excel Discussion (Misc queries) |