An architecture for voltage stability constrained optimal power flow using convex semi-definite programming