IDEAS home Printed from https://ideas.repec.org/p/ven/wpaper/201623.html
   My bibliography  Save this paper

PAMS.py: a GAMS-like Modeling System based on Python and SAGE

Author

Listed:
  • Roberto Roson

    (Ca' Foscari University of Venice, Department of Economics)

Abstract

This paper presents an external module for the Python programming language and for the SAGE open source mathematical software, which allows the realization of models based on constrained optimization or non-linear systems. The module, which is freely available for download, allows describing the structure of a model using a syntax similar to that of popular modeling systems like GAMS, AIMMS or GEMPACK; in particular by allowing the automatic replication of equations, variable and parameter definitions on the basis of some specified sets.

Suggested Citation

  • Roberto Roson, 2016. "PAMS.py: a GAMS-like Modeling System based on Python and SAGE," Working Papers 2016:23, Department of Economics, University of Venice "Ca' Foscari".
  • Handle: RePEc:ven:wpaper:2016:23
    as

    Download full text from publisher

    File URL: http://www.unive.it/pag/fileadmin/user_upload/dipartimenti/economia/doc/Pubblicazioni_scientifiche/working_papers/2016/WP_DSE_roson_23_2016.pdf
    File Function: First version, anno
    Download Restriction: no
    ---><---

    Other versions of this item:

    References listed on IDEAS

    as
    1. Mark Horridge & Ken Pearson, 2011. "Solution Software for CGE Modeling," Centre of Policy Studies/IMPACT Centre Working Papers g-214, Victoria University, Centre of Policy Studies/IMPACT Centre.
    2. Meeraus, Alexander, 1983. "An algebraic approach to modeling," Journal of Economic Dynamics and Control, Elsevier, vol. 5(1), pages 81-108, February.
    3. Pearson, K. R., 1988. "Automating the computation of solutions of large economic models," Economic Modelling, Elsevier, vol. 5(4), pages 385-395, October.
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. G. Codsi & K.R. Pearson, 1994. "Developing and Implementing Large Economic Models Using GEMPACK, A General Purpose Software Suite," Centre of Policy Studies/IMPACT Centre Working Papers ip-39, Victoria University, Centre of Policy Studies/IMPACT Centre.
    2. Peter B. Dixon, 2006. "Evidence-based Trade Policy Decision Making in Australia and the Development of Computable General Equilibrium Modelling," Centre of Policy Studies/IMPACT Centre Working Papers g-163, Victoria University, Centre of Policy Studies/IMPACT Centre.
    3. Thomas Rutherford, 1987. "A Modeling System for Applied General Equilibrium Analysis," Cowles Foundation Discussion Papers 836, Cowles Foundation for Research in Economics, Yale University.
    4. Horridge, Mark & Meeraus, Alex & Pearson, Ken & Rutherford, Thomas F., 2013. "Solution Software for Computable General Equilibrium Modeling," Handbook of Computable General Equilibrium Modeling, in: Peter B. Dixon & Dale Jorgenson (ed.), Handbook of Computable General Equilibrium Modeling, edition 1, volume 1, chapter 0, pages 1331-1381, Elsevier.
    5. Thomas Rutherford, 1987. "Implementational Issues and Computational Performance Solving Applied General Equilibrium Models with SLCP," Cowles Foundation Discussion Papers 837, Cowles Foundation for Research in Economics, Yale University.
    6. Horridge, Mark & Madden, John & Wittwer, Glyn, 2005. "The impact of the 2002-2003 drought on Australia," Journal of Policy Modeling, Elsevier, vol. 27(3), pages 285-308, April.
    7. Zhai, Fan, 2007. "Armington Meets Melitz: Introducing Firm Heterogeneity in Global CGE Model of Trade," Conference papers 331646, Purdue University, Center for Global Trade Analysis, Global Trade Analysis Project.
    8. IAN COXHEAD & Sisira Jayasuriya, "undated". "Economic Growth, Development Policy and the Environment in the Philippines," Wisconsin-Madison Agricultural and Applied Economics Staff Papers 430, Wisconsin-Madison Agricultural and Applied Economics Department.
    9. K.R. Pearson, 1991. "Solving Nonlinear Economic Models Accurately Via a Linear Representation," Centre of Policy Studies/IMPACT Centre Working Papers ip-55, Victoria University, Centre of Policy Studies/IMPACT Centre.
    10. Peter Dixon & Michael Jerie & Maureen Rimmer, 2016. "Modern Trade Theory for CGE Modelling: The Armington, Krugman and Melitz Models," Journal of Global Economic Analysis, Center for Global Trade Analysis, Department of Agricultural Economics, Purdue University, vol. 1(1), pages 1-110, June.
    11. JAMES H. BREECE & KEITH R. McLAREN & CHRISTOPHER W. MURPHY & ALAN A. POWELL, 1994. "Using the Murphy Model to Provide Short‐run Macroeconomic Closure for ORANI," The Economic Record, The Economic Society of Australia, vol. 70(210), pages 292-314, September.
    12. Peter B. Dixon & Maureen T. Rimmer, 2003. "The US economy from 1992 to 1998: historical and decomposition simulations with the USAGE model," Centre of Policy Studies/IMPACT Centre Working Papers g-143, Victoria University, Centre of Policy Studies/IMPACT Centre.
    13. Mark Horridge & Glyn Wittwer, 2006. "The Impacts of Higher Energy Prices on Indonesia’s and West Java’s Economies using INDOTERM, a Multiregional Model of Indonesia," Working Papers in Economics and Development Studies (WoPEDS) 200607, Department of Economics, Padjadjaran University, revised Aug 2006.
    14. Dixon, Peter B. & Rimmer, Maureen T., 2016. "Johansen's legacy to CGE modelling: Originator and guiding light for 50 years," Journal of Policy Modeling, Elsevier, vol. 38(3), pages 421-435.
    15. Horridge, Mark & Madden, John & Wittwer, Glyn, 2003. "Using a Highly Disaggregated Multi-Regional Single-Country Model to Analyse the Impacts of the 2002-03 Drought on Australia," Conference papers 331074, Purdue University, Center for Global Trade Analysis, Global Trade Analysis Project.
    16. Hertel, Thomas W. & Mark Horridge, J. & Pearson, K. R., 1992. "Mending the family tree a reconciliation of the linearization and levels schools of AGE modelling," Economic Modelling, Elsevier, vol. 9(4), pages 385-407, October.
    17. Adams, F. Gerard & Park, I., 1995. "Measuring the impact of AFTA: An application of a linked CGE system," Journal of Policy Modeling, Elsevier, vol. 17(4), pages 325-365, August.
    18. J. Salerian, 1989. "Application of an Economic Model to Dryland Soil Salinity in Western Australia," Economics Discussion / Working Papers 89-25, The University of Western Australia, Department of Economics.
    19. Dixon, Peter B. & Koopman, Robert B. & Rimmer, Maureen T., 2013. "The MONASH Style of Computable General Equilibrium Modeling: A Framework for Practical Policy Analysis," Handbook of Computable General Equilibrium Modeling, in: Peter B. Dixon & Dale Jorgenson (ed.), Handbook of Computable General Equilibrium Modeling, edition 1, volume 1, chapter 0, pages 23-103, Elsevier.
    20. Adams, Philip D. & Andersen, Lill & Jacobsen, Lars-Bo, 2002. "Structural Forecasts for the Danish Economy Using the Dynamic-AAGE Model," 2002 International Congress, August 28-31, 2002, Zaragoza, Spain 24791, European Association of Agricultural Economists.

    More about this item

    Keywords

    GAMS; Python; SAGE; AIMMS; CGE; optimization software; applied economic modeling;
    All these keywords.

    JEL classification:

    • C63 - Mathematical and Quantitative Methods - - Mathematical Methods; Programming Models; Mathematical and Simulation Modeling - - - Computational Techniques
    • C65 - Mathematical and Quantitative Methods - - Mathematical Methods; Programming Models; Mathematical and Simulation Modeling - - - Miscellaneous Mathematical Tools
    • C68 - Mathematical and Quantitative Methods - - Mathematical Methods; Programming Models; Mathematical and Simulation Modeling - - - Computable General Equilibrium Models
    • C8 - Mathematical and Quantitative Methods - - Data Collection and Data Estimation Methodology; Computer Programs

    NEP fields

    This paper has been announced in the following NEP Reports:

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:ven:wpaper:2016:23. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Geraldine Ludbrook (email available below). General contact details of provider: https://edirc.repec.org/data/dsvenit.html .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.