This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ontext | |
Test the positive definiteness of a symmetric matrix | |
Extension of the 'choleskyexample.gms' example from the McCarl User Guide | |
$offtext | |
Set index /i1*i2/; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ontext | |
Test the positive definiteness of a symmetric matrix | |
Extension of ' eigenexample.gms' from the McCarl User Guide | |
$offtext | |
Set index /i1*i3/; | |
alias(index,index1); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
*<%REGION File header%> | |
*============================================================================= | |
* File : rutherford_ex1.gms | |
* Author : mihalyh | |
* Version : 1.0 | |
* Date : 13.11.2013 10:58:08 | |
* Changed : 13.11.2013 13:13:56 | |
* Changed by: mihalyh | |
* Remarks : | |
$ontext |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
******************************************************************************** | |
$ontext | |
CAPRI project | |
GAMS file : REGAGG.GMS | |
@purpose : | |
@author : Mihaly Himics (mihaly.himics@ilr.uni-bonn.de) | |
@date : 21.11.13 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* GAMS code based on the bread grain market model in | |
* Salhofer (1996), “Efficient Income Redistribution for a Small Country Using Optimal Combined Instruments.” | |
* Salhofer, K. 1996. “Efficient Income Redistribution for a Small Country Using Optimal Combined Instruments.” Agricultural Economics 13 (3): 191–99. doi:10.1016/0169-5150(95)01162-5. | |
* The code builds on Salhofer's GAMS example provided in the course "Welfare Economics" | |
* General idea of the optimization model: | |
* Maximizes consumers/taxpayers surplus s.t. a given support level and four policy instruments |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* | |
* --- Small country trading equilibrium | |
* | |
* Different variants of the same model: | |
* | |
* | |
* (1) explicit trade balance condition [import value = export value] or 'nested' budget constraint [max. income = production value] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* | |
* | |
* This file is an extension of | |
* the long-run production problem, as described in Chapter 5 of | |
* Gilbert and Tower: Introduction to Numerical Simulation for Trade Theory and Policy. | |
* | |
* for download of the original model go to | |
* http://ideas.repec.org/c/uth/gt2013/2012-03.html | |
* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* | |
* --- Small country trading equilibrium | |
* | |
* Reasons for trade in the single country HO model | |
* Differences in good and factor prices and factor intensities | |
* | |
* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* | |
* Howto draw a PPF using the GUSS solver option in GAMS | |
* | |
* This file is an extension of | |
* the long-run production problem, as described in Chapter 5 of | |
* Gilbert and Tower: Introduction to Numerical Simulation for Trade Theory and Policy. | |
* | |
* for download of the original model go to | |
* http://ideas.repec.org/c/uth/gt2013/2012-03.html | |
* |