July 1st, 2012, 1:41 pm
So, don't take the log -- just differentiate w.r.t. each w(i) and lambda, and then numerically solve for a soln. Alternatively, in say Mathematica, you could just use FindMaximum[...] on the expressions without the Lagrange multiplier term, maximizing over the {w(i)} with the constraint that they summed to 1. p.s. I have no idea if there are multiple local maxima or an unbounded maximum, so either procedure may potentially have problems.
Last edited by
Alan on June 30th, 2012, 10:00 pm, edited 1 time in total.