|
Constrained Optimization CO is an applications module written in the GAUSS programming language. It solves the Nonlinear Programming problem, subject to general constraints on the parameters - linear or nonlinear, equality or inequality, using the Sequential Quadratic Programming method in combination with several descent methods selectable by the user - Newton-Raphson, quasi-Newton (BFGS and DFP), and scaled quasi-Newton. There are also several selectable line search methods. A Trust Region method is also available which prevents saddle point solutions. Gradients can be user-provided or numerically calculated. CO is fast
and can handle large, time-consuming problems because it takes advantage of the
speed and number-crunching capabilities of GAUSS. It is thus ideal for large
scale Monte Carlo or bootstrap simulations.
Example
CO also contains a special technique for semi-definite problems, and thus it will solve the Markowitz portfolio allocation problem for a thousand stocks even when the covariance matrix is computed on fewer observations than there are securities. Because CO handles general nonlinear functions and constraints, it can solve a more general problem than the Markowitz problem. The efficient frontier is essentially a quadratic programming problem where the Markowitz Mean/Variance portfolio allocation model is solved for a range of expected portfolio returns which are then plotted against the portfolio risk measured as the standard deviation:
where l
is a conformable vector of ones, and where This model is solved for
and the
efficient frontier is the plot of
on the
horizontal axis. The portfolio weights in Because of CO's ability to handle nonlinear constraints, more elaborate models may be considered. For example, this model frequently concentrates the allocation into a minority of the securities. To spread out the allocation one could solve the problem subject to a maximum variance for the weights, i.e., subject to
where
An unconstrained analysis produced the results below:
It can be observed that the optimal portfolio weights are highly concentrated in T-bills. Now let us constrain w´w to be less than, say, .8. We then get:
Efficient portfolio for these analyses
We see there that the constrained portfolio is riskier everywhere than the unconstrained
portfolio given a particular portfolio return. In summary, CO is well-suited for a variety of financial applications from the ordinary to the highly sophisticated, and the speed of GAUSS makes large and time-consuming problems feasible. CO is an advanced GAUSS Application and comes as GAUSS source code. GAUSS Applications are modules written in GAUSS for performing specific modeling and analysis tasks. They are designed to minimize or eliminate the need for user programming while maintaining flexibility for non-standard problems. Platform: Windows, LINUX and UNIX.
Requirements: GAUSS/GAUSS Light version 3.2.8 or higher. |
© Copyright 2004-2008. Aptech Systems, Inc. Black Diamond, WA. All Rights Reserved Worldwide. |