julia-mpsge / MPSGE_MP.jl

MIT License
1 stars 0 forks source link

Parameters #2

Closed mitchphillipson closed 6 months ago

mitchphillipson commented 6 months ago

The goal is to add Parameter functionality to MPSGE models.

Currently this is implemented and tested on taxes.

Will need to also implement for:

  1. Elasticities
  2. Reference Prices
  3. Quantities
  4. Endowments
  5. Demands
mitchphillipson commented 6 months ago

Found an issue, parameters in quantities don't go "up the tree". The quantity of a node must equal the sum of it's children's quantities. If a child gets an updated quantity this isn't impacting the parent.

This gets worse as these total quantities are baked into the constraints. So something needs to be fixed.