powered by
Solve the problem: min 1/2*x'*L*x-x'*d s.t. x>=0, 1'x=1
EProjSimplexdiag(d, l)
matrix or vector
x