Once again, the objective in this model is to minimize the portfolio's risk. The default version of the objective minimizes variance as follows:

! Set objective to VAR, SEMIVAR, or DNRISK;

  [OBJ] MIN = VAR;

To solve using the other two measures of risk, simply change the name of the variable from VAR to either SEMIVAR or DNRISK.