A Convex Programming Approach to the Trace Quotient Problem