The GTAP v7 model in Julia

In this work, I introduce a formulation of the GTAP version 7 model (Corong et al., 2017) in an open-source algebraic modeling language, JuMP (Lubin et al., 2023), implemented in Julia (Bezanson et al., 2017), that closely follows the specification of the model in GEMPACK (Horridge et al., 2019), including equation and variable names. Unlike the linearized GEMPACK version, my formulation is in levels. However, my formulation of the GTAP model is quite different from the levels formulation in GAMS (Bussieck and Meeraus, 2004) by Mensbrugghe (2018), in following more closely the variable and equation names of the GEMPACK model. I show that my model produces essentially the same results as the GEMPACK model. Because it is expressed in levels, with unabridged functional forms underpinning its behavioral equations (e.g., containing all parameters in the case of CES functions), my model can address a wider range of policy questions, especially those involving parameter changes. Calibrating the model to additional data, e.g., quantities, additionally allows it to be used in scenario analyses involving absolute productivity metrics. As an important benefit, my implementation of the GTAP model using open-source Ipopt solver (W¨achter and Biegler, 2006), requires no software license to solve the model.

Authors

Publication Details

Journal
Journal of Global Economic Analysis
Published
2025-06-29
DOI
https://doi.org/10.21642/jgea.100104sm1f
Primary Topic
Diverse Scientific and Economic Studies
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

The GTAP v7 model in Julia

Maros Ivanic
Journal of Global Economic Analysis
Diverse Scientific and Economic Studies
article

The GTAP v7 model in Julia

Maros Ivanic
article en

Abstract

In this work, I introduce a formulation of the GTAP version 7 model (Corong et al., 2017) in an open-source algebraic modeling language, JuMP (Lubin et al., 2023), implemented in Julia (Bezanson et al., 2017), that closely follows the specification of the model in GEMPACK (Horridge et al., 2019), including equation and variable names. Unlike the linearized GEMPACK version, my formulation is in levels. However, my formulation of the GTAP model is quite different from the levels formulation in GAMS (Bussieck and Meeraus, 2004) by Mensbrugghe (2018), in following more closely the variable and equation names of the GEMPACK model. I show that my model produces essentially the same results as the GEMPACK model. Because it is expressed in levels, with unabridged functional forms underpinning its behavioral equations (e.g., containing all parameters in the case of CES functions), my model can address a wider range of policy questions, especially those involving parameter changes. Calibrating the model to additional data, e.g., quantities, additionally allows it to be used in scenario analyses involving absolute productivity metrics. As an important benefit, my implementation of the GTAP model using open-source Ipopt solver (W¨achter and Biegler, 2006), requires no software license to solve the model.

Journal of Global Economic AnalysisVol. 10(1)
Affordable and clean energy
Openalex Percentile: Top 78%
Diverse Scientific and Economic Studies
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.