Portfolio Optimization via Dimension Reduction Techniques