Degeneracy Analysis of the Portfolio Optimization