Can I get some advice about optimizing this algorithm?

Equities, FX, commodities, fixed income, and volatility.
Post Reply
vx2008
Posts: 0
Joined: Thu Jan 01, 2004 12:00 am

Can I get some advice about optimizing this algorithm?

Post by vx2008 »

Know values: matrix(n x m)—— X,F and Delta; vector—-u;



wanted value: vector—— w;



restrictive condition:

pic



Now shall I set vector — ‘w’ to get the biggest value of R/P?
User avatar
Tradenator
Posts: 0
Joined: Thu Jan 01, 2004 12:00 am

Can I get some advice about optimizing this algorithm?

Post by Tradenator »

Is R correctly specified? You are trying to add a vector to a matrix multiplication?
vx2008
Posts: 0
Joined: Thu Jan 01, 2004 12:00 am

Can I get some advice about optimizing this algorithm?

Post by vx2008 »

thanks for your reply;

Yes, I want to get a vector 'w' to make 'R/P' biggest.
ebal
Posts: 0
Joined: Thu Jan 01, 2004 12:00 am

Can I get some advice about optimizing this algorithm?

Post by ebal »

Seems like you simply have R = b w and P = sqrt(w^T C w). Their ratio is invariant to re-scaling of w, so you can always choose w so that P = 1. Then you have to maximize R with fixed P which is Lagrange optimization problem: b w + l (w^T C w - 1), where l is Lagrange multiplier (note P^2 to get rid of square root). This is straightforward.
Post Reply