Colab notebooks#
The complete v0.8.0 notebook course is available below. Each notebook can be read directly in this documentation site or opened in Google Colab.
Notebook course#
# |
Notebook |
What it does |
Read here |
Run in Colab |
|---|---|---|---|---|
01 |
Your first CGE |
Solve the bundled Standard CGE benchmark and inspect production, prices, trade, household demand, and closure. |
||
02 |
Policy experiments |
Follow the core workflow: benchmark → independent scenario → economic shock → new equilibrium → comparison. |
||
03 |
Bring your own SAM |
Inspect a social accounting matrix, verify balance, and construct |
||
04 |
CAMCGE |
Use the published Cameroon 1987 replication as a first-class model and reproduce a counterfactual. |
||
05 |
IFPRI Standard CGE |
Run the independently authored synthetic public economy and execute a named IFPRI scenario. |
||
06 |
Build a model |
Explore functional Python authoring and the experimental deterministic |
||
90 |
Internals and advanced access |
Inspect the retained Pyomo/PyCGE machinery after learning the practitioner interface. |
Sequence#
The recommended order is:
notebook 01 — first equilibrium
notebook 02 — policy experiments
notebook 03 — your own SAM
notebook 04 — CAMCGE
notebook 05 — IFPRI Standard CGE
notebook 06 — build a model
notebook 90 — internals
In Colab, each canonical notebook begins with only:
%pip install -q "https://github.com/miraflor/CGE-core/releases/download/v0.8.0/cge_core-0.8.0-py3-none-any.whl"
That cell downloads the compact v0.8.0 release wheel rather than the entire GitHub repository. After that, the notebooks stay at the modelling level. Solver discovery and default first-use setup are internal to CGE-Core.
Earlier notebook filenames live in historical Git tags rather than in the active course directory.