Skip to content

[Re] A Standard Computable General Equilibrium (CGE) Model in GAMS #144

Open

Description

@psnavata-alt

Original article: Lofgren, Hans, Rebecca Lee Harris, and Sherman Robinson, with assistance from Marcelle Thomas and Moataz El-Said. 2002. A Standard Computable General Equilibrium (CGE) Model in GAMS. Microcomputers in Policy Research 5. Washington, DC: International Food Policy Research Institute. DOI 10.22004/ag.econ.42483 (PDF: https://ageconsearch.umn.edu/record/42483/files/mc5.pdf)

PDF URL: https://github.com/psnavata-alt/rescience-pystdcge/raw/main/article.pdf
Metadata URL: https://github.com/psnavata-alt/rescience-pystdcge/blob/main/metadata.yaml
Code URL: https://github.com/psnavata-alt/pystdcge

Scientific domain: Computational Economics
Programming language: Python
Suggested editor: none


Notes for the editor and reviewers:

  • The replication reimplements the published model in Python (pystdcge, MIT License) from its 48 equations and compares it with IFPRI's own GAMS program (GNU GPL v2) run on the same data: IFPRI's 2023 Philippine SAM (CC BY 4.0) condensed to 9 sectors, four shocks, two closures.
  • The comparison reruns without GAMS: IFPRI's results are saved with the comparison scripts (validation/ifpri/, tests V2-V4 of python -m pytest). Regenerating IFPRI's side needs GAMS 54.5 or later with the PATH solver; the free demonstration licence suffices at this size.
  • Generative AI disclosure: the package's code, tests and documentation were written with an AI coding assistant under the author's direction, and the article's text was drafted with the same kind of assistance from the repository's validation records and revised by the author, who is responsible for the content (stated in the article's last section and in the repository's docs/ai_use.md). All replies in this review will be written by the author.

Activity

  1. rougier commented on Nov 1, 2026

    @rougier
    Member

    Thanks for your submission. We are currently overwhelmed by submissions such that we'll ask you to make two reviews (2 for you or your co-authors, not 2 each) for ReScience C before we can proceed with your submission.
    If it is ok, you can make fill your information on this issuer at ReScience/ReScience#27 and confirm on ReScience/ReScience#118.

  2. psnavata-alt commented on Nov 2, 2026

    @psnavata-alt
    Author

    Thank you, @rougier. That is fine with me. I have posted my details in ReScience/ReScience#27, confirmed in ReScience/ReScience#118, and offered to review #129 and #138.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions