The objective in this model is to minimize the portfolio's risk. As we mentioned above, we use the portfolio's variance as a measure of risk in the following expression:

! Min the variance;

[VAR] MIN = @SUM( COVMAT( I, J):

             V( I, J) * X( I) * X( J));