jessegrabowski / gEconpy

A collection of tools for working with DSGE models in python, inspired by the R package gEcon
https://geconpy.readthedocs.io/en/latest/index.html
GNU General Public License v3.0
23 stars 3 forks source link

`model.steady_state` fails when user provides a partial steady state #24

Closed jessegrabowski closed 1 year ago

jessegrabowski commented 1 year ago

When a partial steady-state is declared in the GCN, the model.steady_state() function raises an error. This is because the provided relationships eliminate input variables without eliminating model equations, and scipy.optimize.root can only handle problem from R^n to R^n.