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 35 views
- Gams code in LaTeX documents 12 views
- Tables with footnotes in LaTeX 8 views
- Producing stand-alone figures with TikZ in LaTeX 6 views
- Starting your Jupyter Notebook with a double-click 4 views
- Using Org-Mode for Project Management 4 views
- Indenting with Gams-mode 2 views
- Bibliography with abstracts in LaTeX 2 views
- Todo’s from Everywhere 2 views
- Disable the insert key 2 views