GAMS Model


Our GAMS model incorporates both of the Advanced Models. It also gives the user the option to perform sensitivity analysis on the desired level of return, the desired levels of risk for each factor, and the economic outcomes of each risk factor.

Please feel free to download our GAMS model and run it using your own data. There are two files which are required:

Instructions on using the GAMS program

In order to use this program, the user makes adjustments to the Data Input File. Possible inputs include:

Note: Please ensure that the number of risk factors and securities referred to in each table are the same as defined in the set at the top of the file.

The user also specifies one of the following four models within the Data Input File:

In order to run the program, simply type "gams portfolio.gms" at the command line. The data input file should be called portfolio.input.
Note that Models 1 and 2 may take a few minutes to run and may appear to be on an endless cycle. Please be patient, and they will terminate within a few minutes.

The program will create an output file called portfolio.output. This file contains information on the optimal solution and the sensitivity analysis.
The sensitivity analysis shows the approximate upper and lower bounds on each item, with all others held constant, for which the current selection of securities remains both feasible and optimal. It also provides information on what the total portfolio risk and return are, and what the new portfolio would be at the upper or lower boundary.

Previous: Avenues for Future Study

Next: Conclusion

Return to Table of Contents


Last Updated November 19, 1997 by Chris Payton