Text this: Constrained Portfolio Optimization: Markowitz Model and Index Model