-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"n" order > number of exogenous gives an error #120
Comments
Thanks @ezgioz . The condition in src/model.jl is indeed incorrect and I fear it breaks many models. It should be simply So far, options.grid always refer to the grid of endogenous points. Currently we don't have a way in the yaml file of specifying a specific geometry for the exogenous. This can be done in Julia with the discretize method. Bringing an option to do that in the yaml file (specify discretization options), could indeed be an open issue. Further down in the future, we could also imagine a way of specifying joint grids on exo and endo that are not cartesian products of two grids (where endogenous space would depend on exogenous value), but that is not the priority. |
Thanks @albop. I thought that what we were doing was
Apparently I am mistaken. But the key "endogenous" for "model.calibration" does not exist. Here are the keys: Dolo.GroupedCalibration with 6 entries: Does the number of endogenous should be equal to sum of states and controls? In that case I could edit as below. What do you suggest?
|
oh no, you're right : it's We denote exogenous states as |
In options section of a yaml file when size of "order" is larger than the size of "exogenous" we get an error like the following:
This should be corrected and updated at src/model.jl at line 165 to 169
The text was updated successfully, but these errors were encountered: