Tag: Gams
-
Aggregating tables in Gams in a flexible way using mappings and compile-time variables
Gams makes aggregating tables quite easy. Imagine you a table with data for 100 sectors but you want to run your model in the testing phase for an aggregation of these sectors (e.g. an aggregate the 100 sectors to the three sector groups “agriculture”, “industry”, and “services”). This is a typical situation in CGE (computable general equilibrium modeling): you have a social accounting matrix for your country and you want to start with a simple model having only a few sectors, one household, no taxes, and no government).
In Gams you simply introduce a mapping that maps the 100 sectors … Read the rest “Aggregating tables in Gams in a flexible way using mappings and compile-time variables”
Categories
Recent Posts
- Automatic line breaks in LaTeX tables 36 views
- How to generate nice nomenclatures in LaTeX 12 views
- Tables with footnotes in LaTeX 10 views
- Switching between Emacs color themes 6 views
- Producing stand-alone figures with TikZ in LaTeX 4 views
- Elasticities in estimated linear models 4 views
- Starting your Jupyter Notebook with a double-click 4 views
- Bibliography with abstracts in LaTeX 3 views
- Drawing nice side-by-side trees in LaTeX 3 views
- Syntax Coloring in Gams-Mode 2 views