Skip to content
Prev 13632 / 15274 Next

solnp Problem Inverting Hessian

WRT scaling I should also add that, while it is almost always the right 
thing to do numerically, it does not always make sense in a particular 
application. One often does optimization in a situation where the 
parameters have different units, or have no units, so the scales are 
arbitrary to begin with and rescaling is numerically convenient. In 
application like yours, you may be summing things that are all in the 
same unit, dollars. Rescaling could mean some are in dollars and some in 
millions or billions of dollars. Theoretically, at the maximum of an 
unconstrained problem, scaling will not make any difference because the 
gradient will be zero in all directions. Practically, there is a 
difficulty that the numerical solution stops according to some rule when 
it gets "close enough". By rescaling you will be emphasizing the 
importance of parameters that really have no effect on the portfolio. It 
might be better to simply eliminate the parameters that have no 
contribution to the objective. (Take this all with a grain of salt, I 
don't know anything about portfolio optimization.)

Paul
On 12/15/2015 10:45 AM, Michael Ashton wrote:
qL