Generalized Performance Ratios and Risk Optimization