Setting up CGEBOX
CGEBOX is a modular CGE modeling platform associated with the University of Bonn.
1. Get the Code
Clone or download the CGEBOX repository/source.
2. Open in VS Code
Open the CGEBOX folder in VS Code.
3. Configure Compiling
The main entry file for CGEBOX is typically com_.gms.
- Open the Command Palette (
Ctrl+Shift+P/Cmd+Shift+P) and search for "GAMS: Select main GAMS file". - Select
com_.gmsfrom the list.

4. Run & Debug
With com_.gms set as the main file, you can now:
- Compile:
Ctrl+Shift+B(orCmd+Shift+B) to check for syntax errors across the entire model. - Run:
F5to execute the full model logic.