Dimensionality reduction techniques for large-scale optimization problems