
CDE model with a CDE demand "mrtmge_cde.gms"
To run the model, 

1) in the code, choose either the price shock or the income (endowment) shock:

* Consumer's price shock:
vdfm("agri",c,"usa") = vdfm0("agri",c,"usa")*(start+(ord(x)-1)*step);
vifm("agri",c,"usa") = vifm0("agri",c,"usa")*(start+(ord(x)-1)*step);

* Endowment shock:
*evom(f,"usa") = evom0(f,"usa")*(start+(ord(x)-1)*step);

...

execute_unload ".\output\mrtmge_cde_policy_ds=%ds%_priceshock=%step%.gdx";
*execute_unload ".\output\mrtmge_cde_policy_ds=%ds%_incomeshock=%step%.gdx";


2) in the command prompt, type, for example: gams mrtmge_cde --start=0.1 --end=20 --step=0.1
The environment variables "start", "end", and "step" will provide information for the code shown in step 1).


   