This section contains examples that illustrate the use of the OPTQP procedure. Example 12.1 illustrates how to model a linear least squares problem and solve it by using PROC OPTQP. Example 12.2 and Example 12.3 explain in detail how to model the portfolio optimization and selection problems.